Skip to content

Reference for unit 'JsonReader'

Event-based JSON reading with SAX-like parsing

uses

Used units Description
System
Classes
sysutils
fpJson JSON support for Free Pascal.
JsonScanner JSON lexical scanner

Overview

The jsonreader unit provides event-based JSON reading functionality. It offers a SAX-like approach to JSON parsing where events are fired as JSON elements are encountered during parsing. This allows for efficient processing of large JSON documents without loading the entire structure into memory. The unit includes abstract base classes, event-driven readers, and interface-based consumers for flexible JSON processing.

Topic Description
JSONReaderStreamUsage Using JSON readers with streams and files
JSONConsumerUsage Using TJSONConsumerReader with IJSONConsumer interface
JSONEventReaderUsage Using TJSONEventReader for event-based JSON parsing