Sign in Join
FPDoc Onlineexperiment

JsonWriter unit

JSON writer classes for creating JSON files without building in-memory data structures

The jsonwriter unit provides classes to create JSON files efficiently without first having to create a JSON data structure in memory. The unit contains two main implementations: TJSONDataWriter which builds a TJSONData tree in memory, and TJSONStreamWriter which writes JSON directly to a stream for memory-efficient processing of large JSON files.

Classes and records

EJSONWriterclassException class for JSON writing errors
TAbstractJSONWriterclassAbstract base class for JSON writers
TJSONDataWriterclassJSON writer that builds TJSONData tree in memory
TJSONStreamWriterclassJSON writer that writes directly to a stream

Uses

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