Package org.cometd.common
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 java.lang.Object implements JSONContext.Generator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectMapperGenerator()
-
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
-
-