Unit 'fpjson' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

AsCompactJSON

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

Declaration

Source position: fpjson.pp line 95

const AsCompactJSON = [foSingleLineArray, foSingleLineObject, foskipWhiteSpace, foDoNotQuoteMembers];

Description

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

See also

TJSONData.FormatJSON

  

Return a formatted JSON representation of the data.

TJSONData.AsJSON

  

Return a JSON representation of the value.

TJSONData.CompressedJSON

  

Compress JSON - skip whitespace.


Documentation generated on: Dec 27 2024