[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

AsCompactJSON

Constant to format JSON with minimal whitespace and unquoted property names

Declaration

Source position: fpjson.pp line 49

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

TJSONObject.UnquotedMemberNames

  

Should member names be written unquoted or quoted in JSON


Documentation generated on: Sep 28 2017