[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 78

`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: May 14 2021