Class JacksonJSONContext.ObjectMapperGenerator
java.lang.Object
org.cometd.common.JacksonJSONContext.ObjectMapperGenerator
- All Implemented Interfaces:
JSONContext.Generator
- Enclosing class:
JacksonJSONContext<M extends Message.Mutable,
I extends M>
protected class JacksonJSONContext.ObjectMapperGenerator
extends Object
implements JSONContext.Generator
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ObjectMapperGenerator
protected ObjectMapperGenerator()
-
-
Method Details
-
generate
- Specified by:
generate
in interfaceJSONContext.Generator
- Parameters:
object
- the object to stringify- Returns:
- the JSON string representing the object
-