class Options
Options() |
var arrayItemNewline: Boolean
Put array items on new lines. |
|
var escapeUnicode: Boolean
Replaces Unicode characters > 0x07FF with \uXXXX in object names and values |
|
var indentLevel: Int
The number of spaces to intent for each level. |
|
var isSpaceAfterColon: Boolean
Put a space after object pair colons. |
|
var isSpaceAfterComma: Boolean
Put a space after commas when object pairs or array items are on the same line. |
|
var objectItemNewline: Boolean
Put object pairs on new lines. |
|
var quoteFallback: String
The type of quote to use when quotes are required or requested. Valid values are "single", "double", and "backtick" |
|
var target: String
The target format. One of 'json', 'rjson', or 'js'. This is used to determine what object property names need to be quoted. |
|
var useArrayCommas: Boolean
Always use commas between array items. |
|
var useObjectCommas: Boolean
Always use commas between object pairs. |
|
var usePropertyNameQuotes: Boolean
Always use quotes for object property names. The type of quote will use the option value of quote fallback. If the string value contains a quote, the opposite type will be used. |
|
var useQuotes: Boolean
Always use quotes. The type of quote will use the option value of quote fallback. If the string value contains a quote, the opposite type will be used. |
val JsCompact: Options
Jso format with no newlines. |
|
val JsPretty: Options
Jso format with newlines for arrays and object pairs. |
|
val JsonCompact: Options
Json format with no newlines. |
|
val JsonPretty: Options
Json format with newlines for arrays and object pairs. |
|
val RJsonCompact: Options
RJson format with no newlines. |
|
val RJsonPretty: Options
RJson format with newlines for arrays and object pairs. |