Package | Description |
---|---|
org.bson.json |
JSON serialization and deserialization.
|
Modifier and Type | Field and Description |
---|---|
private JsonMode |
JsonWriterSettings.outputMode |
private JsonMode |
JsonWriterSettings.Builder.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.
|
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,
java.lang.String indentCharacters)
Deprecated.
Use the
JsonWriterSettings.Builder instead |
JsonWriterSettings(JsonMode outputMode,
java.lang.String indentCharacters,
java.lang.String newLineCharacters)
Deprecated.
Use the
JsonWriterSettings.Builder instead |