Example usage for Java com.mongodb.util JSON fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | parse(final String jsonString) Parses a JSON string and returns a corresponding Java object. |
Object | parse(final String s, final BSONCallback c) Parses a JSON string and constructs a corresponding Java object by calling the methods of a org.bson.BSONCallback BSONCallback during parsing. |
String | serialize(final Object object) Serializes an object into its JSON form. This method delegates serialization to JSONSerializers.getLegacy |
void | serialize(final Object object, final StringBuilder buf) Serializes an object into its JSON form. This method delegates serialization to JSONSerializers.getLegacy |