public class JsonWriter extends AbstractBsonWriter
Simplified fork of JsonWriter that ignores behaviour specific to MongoDB and produces more compat output
| Modifiers | Name | Description |
|---|---|---|
class |
JsonWriter.Context |
| Constructor and description |
|---|
JsonWriter(Writer target) |
JsonWriter(Writer target, JsonWriterSettings settings) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
doWriteBinaryData(BsonBinary value) |
|
protected void |
doWriteBoolean(boolean value) |
|
protected void |
doWriteDBPointer(BsonDbPointer value) |
|
protected void |
doWriteDateTime(long value) |
|
protected void |
doWriteDecimal128(Decimal128 value) |
|
protected void |
doWriteDouble(double value) |
|
protected void |
doWriteEndArray() |
|
protected void |
doWriteEndDocument() |
|
protected void |
doWriteInt32(int value) |
|
protected void |
doWriteInt64(long value) |
|
protected void |
doWriteJavaScript(String value) |
|
protected void |
doWriteJavaScriptWithScope(String value) |
|
protected void |
doWriteMaxKey() |
|
protected void |
doWriteMinKey() |
|
protected void |
doWriteNull() |
|
protected void |
doWriteObjectId(ObjectId value) |
|
protected void |
doWriteRegularExpression(BsonRegularExpression regularExpression) |
|
protected void |
doWriteStartArray() |
|
protected void |
doWriteStartDocument() |
|
protected void |
doWriteString(String value) |
|
protected void |
doWriteSymbol(String value) |
|
protected void |
doWriteTimestamp(BsonTimestamp value) |
|
protected void |
doWriteUndefined() |
|
public void |
flush() |
|
protected JsonWriter.Context |
getContext() |
|
protected void |
writeNameHelper(String name) |