Package org.bson.json

Class JsonReader

All Implemented Interfaces:
Closeable, AutoCloseable, BsonReader

public class JsonReader extends AbstractBsonReader
Reads a JSON in one of the following modes:
  • Strict mode that conforms to the JSON RFC specifications.
  • JavaScript mode that that most JavaScript interpreters can process
  • Shell mode that the mongo shell can process. This is also called "extended" JavaScript format.
For more information about this modes please see