Package org.cometd.common
Class JettyJSONContext.JSONGenerator
java.lang.Object
org.cometd.common.JettyJSONContext.JSONGenerator
- All Implemented Interfaces:
JSONContext.Generator
- Enclosing class:
- JettyJSONContext<M extends org.cometd.bayeux.Message.Mutable>
protected class JettyJSONContext.JSONGenerator extends Object implements JSONContext.Generator
-
Constructor Summary
Constructors Modifier Constructor Description protectedJSONGenerator() -
Method Summary
-
Constructor Details
-
JSONGenerator
protected JSONGenerator()
-
-
Method Details
-
generate
- Specified by:
generatein interfaceJSONContext.Generator- Parameters:
object- the object to stringify- Returns:
- the JSON string representing the object
-