public static final class StrictCharacterStreamJsonWriterSettings.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
StrictCharacterStreamJsonWriterSettings |
build()
Build a JsonWriterSettings instance.
|
StrictCharacterStreamJsonWriterSettings.Builder |
indent(boolean indent)
Sets whether indentation is enabled.
|
StrictCharacterStreamJsonWriterSettings.Builder |
indentCharacters(java.lang.String indentCharacters)
Sets the indent character string to use when indentation is enabled.
|
StrictCharacterStreamJsonWriterSettings.Builder |
newLineCharacters(java.lang.String newLineCharacters)
Sets the new line character string to use when indentation is enabled.
|
public StrictCharacterStreamJsonWriterSettings build()
public StrictCharacterStreamJsonWriterSettings.Builder indent(boolean indent)
indent
- whether indentation is enabledpublic StrictCharacterStreamJsonWriterSettings.Builder newLineCharacters(java.lang.String newLineCharacters)
newLineCharacters
- the non-null new line character stringpublic StrictCharacterStreamJsonWriterSettings.Builder indentCharacters(java.lang.String indentCharacters)
indentCharacters
- the non-null indent character string