public static final class StrictCharacterStreamJsonWriterSettings.Builder extends 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(String indentCharacters)
Sets the indent character string to use when indentation is enabled.
|
StrictCharacterStreamJsonWriterSettings.Builder |
newLineCharacters(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(String newLineCharacters)
newLineCharacters - the non-null new line character stringpublic StrictCharacterStreamJsonWriterSettings.Builder indentCharacters(String indentCharacters)
indentCharacters - the non-null indent character string