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

# TJSONData.AsJSON

Return a JSON representation of the value

## Declaration

Source position: fpjson.pp line 178

`public property TJSONData.AsJSON : TJSONStringType read GetAsJSON;`

## Description

AsJSON returns a JSON representation of the value of the data. For simple values, this is just a textual representation of the object. For objects and arrays, this is an actual JSON Object or JSON Array.

## See also

AsFloat |  | Access the raw JSON value as a float
Value |  | The value of this data object as a variant.
AsInt64 |  | Access the raw JSON value as an 64-bit integer
AsString |  | Access the raw JSON value as a string
AsInteger |  | Access the raw JSON value as an 32-bit integer
AsBoolean |  | Access the raw JSON value as a boolean
AsJSON |  | Return a JSON representation of the value

Documentation generated on: May 14 2021