Package | Description |
---|---|
org.bson.json |
JSON serialization and deserialization.
|
Modifier and Type | Field and Description |
---|---|
private JsonMode |
JsonWriterSettings.outputMode |
Modifier and Type | Method and Description |
---|---|
JsonMode |
JsonWriterSettings.getOutputMode()
The output mode to use.
|
static JsonMode |
JsonMode.valueOf(java.lang.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,
boolean indent,
java.lang.String indentCharacters,
java.lang.String newLineCharacters) |
JsonWriterSettings(JsonMode outputMode,
java.lang.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,
java.lang.String indentCharacters,
java.lang.String newLineCharacters)
Creates a new instance with the given values for all properties and indent mode enabled.
|