Sign in Join
FPDoc Onlineexperiment

AsCompactJSON constant

In unit fpJson

Constant to format JSON with minimal whitespace and unquoted property names.

Declaration

pascal
AsCompactJSON = [foSingleLineArray, foSingleLineObject, foskipWhiteSpace, foDoNotQuoteMembers]

Description

AsCompressedJSON can be used to let FormatJSON behave as AsJSON with TJSONData.CompressedJSON equal to True and TJSONData.UnquotedMemberNames equal to True.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.