public class JsonReader extends AbstractBsonReader
A simplified fork of org.bson.json.JsonReader that works with readers and removes processing related to MongoDB
Modifiers | Name | Description |
---|---|---|
protected class |
JsonReader.Context |
|
protected class |
JsonReader.Mark |
Constructor and description |
---|
JsonReader(java.lang.String json) Constructs a new instance with the given JSON string. |
JsonReader(java.io.Reader reader) Constructs a new instance with the given JSON reader. |
Type Params | Return Type | Name and description |
---|---|---|
|
protected int |
doPeekBinarySize() |
|
protected byte |
doPeekBinarySubType() |
|
protected BsonBinary |
doReadBinaryData() |
|
protected boolean |
doReadBoolean() |
|
protected BsonDbPointer |
doReadDBPointer() |
|
protected long |
doReadDateTime() |
|
protected Decimal128 |
doReadDecimal128() |
|
protected double |
doReadDouble() |
|
protected void |
doReadEndArray() |
|
protected void |
doReadEndDocument() |
|
protected int |
doReadInt32() |
|
protected long |
doReadInt64() |
|
protected java.lang.String |
doReadJavaScript() |
|
protected java.lang.String |
doReadJavaScriptWithScope() |
|
protected void |
doReadMaxKey() |
|
protected void |
doReadMinKey() |
|
protected void |
doReadNull() |
|
protected ObjectId |
doReadObjectId() |
|
protected BsonRegularExpression |
doReadRegularExpression() |
|
protected void |
doReadStartArray() |
|
protected void |
doReadStartDocument() |
|
protected java.lang.String |
doReadString() |
|
protected java.lang.String |
doReadSymbol() |
|
protected BsonTimestamp |
doReadTimestamp() |
|
protected void |
doReadUndefined() |
|
protected void |
doSkipName() |
|
protected void |
doSkipValue() |
|
protected JsonReader.Context |
getContext() |
|
public BsonReaderMark |
getMark() |
|
public BsonType |
readBsonType() |
Constructs a new instance with the given JSON string.
json
- A string representation of a JSON.Constructs a new instance with the given JSON reader.
reader
- The reader.