Skip to content

AsCompressedJSON

Constant to format JSON with minimal whitespace.

Declaration

Source position: fpjson.pp line 95

const
  AsCompressedJSON = [foSingleLineArray, foSingleLineObject, foskipWhiteSpace];

Description

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

See also

Name Description
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.