Package io.github.qishr.cascara.lang.json.util
Class ImmutableJsonOptions
java.lang.Object
io.github.qishr.cascara.common.lang.util.LanguageOptions<io.github.qishr.cascara.lang.json.util.JsonOptions>
io.github.qishr.cascara.lang.json.util.JsonOptions
io.github.qishr.cascara.lang.json.util.JsonOptions.ImmutableJsonOptions
Enclosing Class:
io.github.qishr.cascara.lang.json.util.JsonOptions
public static class ImmutableJsonOptions
extends JsonOptions
Constructor Summary
| Constructor | Description |
|---|---|
| ImmutableJsonOptions(JsonOptions options) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public JsonOptions | setAllowComments(boolean val) | |
| public JsonOptions | setAllowHexadecimalNumbers(boolean val) | |
| public JsonOptions | setAllowJson5Numbers(boolean val) | |
| public JsonOptions | setAllowSingleQuotedStrings(boolean val) | |
| public JsonOptions | setAllowTrailingComma(boolean val) | |
| public JsonOptions | setAllowUnicode(boolean val) | |
| public JsonOptions | setAllowUnquotedKeys(boolean val) | |
| public JsonOptions | setCaptureComments(boolean val) | |
| public JsonOptions | setStrict(boolean val) | |
| public JsonOptions | setInsertSpaces(boolean val) | |
| public JsonOptions | setPrettyPrint(boolean v) |
Methods inherited from LanguageOptions
setIndentSize, getIndentSize
Methods inherited from JsonOptions
insertSpaces, allowTrailingComma, allowJson5Numbers, allowComments, setDepthLimit, allowUnicode, getDepthLimit, setAllowBooleanKeys, setUseSimd, duplicate, captureComments, prettyPrint, trackPosition, useSimd, setValidateUnicode, allowHexadecimalNumbers, allowSingleQuotedStrings, allowUnquotedKeys, setTrackPosition, validateUnicode
Method Details
setAllowComments
public JsonOptions setAllowComments(boolean val)
setAllowHexadecimalNumbers
public JsonOptions setAllowHexadecimalNumbers(boolean val)
setAllowJson5Numbers
public JsonOptions setAllowJson5Numbers(boolean val)
setAllowSingleQuotedStrings
public JsonOptions setAllowSingleQuotedStrings(boolean val)
setAllowTrailingComma
public JsonOptions setAllowTrailingComma(boolean val)
setAllowUnicode
public JsonOptions setAllowUnicode(boolean val)
setAllowUnquotedKeys
public JsonOptions setAllowUnquotedKeys(boolean val)
setCaptureComments
public JsonOptions setCaptureComments(boolean val)
setStrict
public JsonOptions setStrict(boolean val)
setInsertSpaces
public JsonOptions setInsertSpaces(boolean val)
setPrettyPrint
public JsonOptions setPrettyPrint(boolean v)