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 Message.Mutable>
protected class JettyJSONContext.JSONGenerator extends java.lang.Object implements JSONContext.Generator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JSONGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generate(java.lang.Object object)
-
-
-
Method Detail
-
generate
public java.lang.String generate(java.lang.Object object)
- Specified by:
generate
in interfaceJSONContext.Generator
- Parameters:
object
- the object to stringify- Returns:
- the JSON string representing the object
-
-