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
Constructors -
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
-