Package | Description |
---|---|
org.bson.json |
JSON serialization and deserialization.
|
Modifier and Type | Method and Description |
---|---|
JsonMode |
JsonWriterSettings.getOutputMode()
The output mode to use.
|
static JsonMode |
JsonMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonMode[] |
JsonMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
JsonWriterSettings(JsonMode outputMode)
Creates a new instance with the given output mode and default values for all other properties.
|
JsonWriterSettings(JsonMode outputMode,
boolean indent)
Creates a new instance with the given output mode, indent mode enabled, and the default value for all other properties.
|
JsonWriterSettings(JsonMode outputMode,
String indentCharacters)
Creates a new instance with the given values for all properties, indent mode enabled and the default value of
newLineCharacters . |
JsonWriterSettings(JsonMode outputMode,
String indentCharacters,
String newLineCharacters)
Creates a new instance with the given values for all properties and indent mode enabled.
|
Copyright © 2016. All Rights Reserved.