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.
|
Modifier and Type | Method and Description |
---|---|
JsonWriterSettings.Builder |
JsonWriterSettings.Builder.outputMode(JsonMode outputMode)
Sets the output mode, which defaults to
RELAXED . |
Constructor and Description |
---|
JsonWriterSettings(JsonMode outputMode)
Deprecated.
Use the
JsonWriterSettings.Builder instead |
JsonWriterSettings(JsonMode outputMode,
boolean indent)
Deprecated.
Use the
JsonWriterSettings.Builder instead |
JsonWriterSettings(JsonMode outputMode,
String indentCharacters)
Deprecated.
Use the
JsonWriterSettings.Builder instead |
JsonWriterSettings(JsonMode outputMode,
String indentCharacters,
String newLineCharacters)
Deprecated.
Use the
JsonWriterSettings.Builder instead |
Copyright © 2017. All Rights Reserved.