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

TJSONData.DumpJSON

Fast, memory efficient dump of JSON in stream

Declaration

Source position: fpjson.pp line 117

public procedure TJSONData.DumpJSON(

  S: TStream

);

Arguments

S

  

Stream to write JSON to

Description

DumpJSON writes the data as a JSON string to the stream S. No intermediate strings are created, making this a more fast and memory efficient operation than creating a string with TJSONData.AsJSON and writing it to stream.

Errors

None.

See also

TJSONData.FormatJSON

  

Return a formatted JSON representation of the data.

TJSONData.AsJSON

  

Return a JSON representation of the value


Documentation generated on: Sep 28 2017