JSONOptions

Flags that control how JSON is encoded and parsed.

Values

ValueMeaning
none

Standard parsing and encoding

specialFloatLiterals0x1

Encode NaN and Inf float values as strings

escapeNonAsciiChars0x2

Encode non-ASCII characters with a Unicode escape sequence

doNotEscapeSlashes0x4

Do not escape slashes ('/')

strictParsing0x8

Strictly follow RFC-8259 grammar when parsing

Meta