JsonWriteOptionsRecord

PackageReified.Schema
Cosmetic options for the JSON writer.

Fields

NameTypeDescription
IndentIndentIndentation for nested levels.
TrailingNewlineTrailingNewlineAppend one line ending after the value.
LineEndingLineEndingLine ending for indentation and the trailing newline.
AsciiOnlyAsciiOnlyEscape every non-ASCII scalar as \uXXXX so the output is pure ASCII.
EscapeHtmlEscapeHtmlAlso escape <, >, &, ', +, and U+2028/U+2029 for safe embedding in HTML or a pre-ES2019 <script> element.