Sign in Join
FPDoc Onlineexperiment

TJSONData.DumpJSON procedure

Member of TJSONDatapublicIn unit fpJson

Fast, memory efficient dump of JSON in stream.

Declaration

pascal
procedure 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 AsJSON and writing it to stream.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.