Java com.mongodb.util JSON fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.util JSON fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.util JSON.

The text is from its open source code.

Constructor

Method

Objectparse(final String jsonString)

Parses a JSON string and returns a corresponding Java object.

Objectparse(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.
Stringserialize(final Object object)

Serializes an object into its JSON form.

This method delegates serialization to JSONSerializers.getLegacy

voidserialize(final Object object, final StringBuilder buf)

Serializes an object into its JSON form.

This method delegates serialization to JSONSerializers.getLegacy