public final class StrictCharacterStreamJsonWriterSettings extends Object
JSONWriter
instance.StrictCharacterStreamJsonWriter
Modifier and Type | Class | Description |
---|---|---|
static class |
StrictCharacterStreamJsonWriterSettings.Builder |
A builder for StrictCharacterStreamJsonWriterSettings
|
Modifier and Type | Method | Description |
---|---|---|
static StrictCharacterStreamJsonWriterSettings.Builder |
builder() |
Create a builder for StrictCharacterStreamJsonWriterSettings, which are immutable.
|
String |
getIndentCharacters() |
The indent characters to use if indent mode is enabled.
|
int |
getMaxLength() |
The maximum length of the JSON string.
|
String |
getNewLineCharacters() |
The new line character(s) to use if indent mode is enabled.
|
boolean |
isIndent() |
The indentation mode.
|
public static StrictCharacterStreamJsonWriterSettings.Builder builder()
public boolean isIndent()
false
.public String getNewLineCharacters()
System.getProperty("line.separator")
.public String getIndentCharacters()
public int getMaxLength()