TJSONData.DumpJSON¶
Fast, memory efficient dump of JSON in stream.
Declaration¶
Source position: fpjson.pp line 183
public
procedure TJSONData.DumpJSON(S: TFPJSStream);
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¶
| Name | Description |
|---|---|
| TJSONData.FormatJSON | Return a formatted JSON representation of the data. |
| TJSONData.AsJSON | Return a JSON representation of the value. |