Unit 'fpjson' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TJSONData.DumpJSON

Fast, memory efficient dump of JSON in stream.

Declaration

Source position: fpjson.pp line 171

public procedure TJSONData.DumpJSON(

  S: TFPJSStream

);

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: Nov 22 2024