Installation
Via Boss (recommended)
Boss is the de-facto package manager for Delphi. Install JsonFlow with one command:
boss install ModernDelphiWorks/JsonFlow
Boss downloads the sources into your project's modules/ folder and adds the paths to your .dproj automatically.
Via PubPascal
JsonFlow is registered on PubPascal, the CRA-ready Pascal package portal. A machine-readable SBOM (CycloneDX) is published there for supply-chain transparency.
Manual installation
- Clone or download the repository:
https://github.com/ModernDelphiWorks/JsonFlow - Add the following paths to your project's search path:
Source\
Source\Core\
Source\JSON\Core\
Source\JSON\Composition\
Source\JSON\IO\
Source\JSON\Middleware\
Source\Schema\Core\
Source\Schema\Composition\
Source\Schema\IO\
Source\Schema\Validators\
Source\Schema\Validators\Format\
Source\Schema\Validators\Format\Brazil\
Source\Addons\Composition\
Source\Addons\Validation\
- To use the Horse middleware add
Source\Middleware-Horse\to the search path and ensure Horse is also on the path.
Unit reference
| Unit | Purpose |
|---|---|
JsonFlow | Unified TJsonFlow facade |
JsonFlow.Interfaces | Core interface tree + schema interfaces |
JsonFlow.Writer | TJSONWriter implementation |
JsonFlow.Reader | TJSONReader implementation |
JsonFlow.Serializer | RTTI-based TJSONSerializer |
JsonFlow.Serializer.Attributes | Serialization control attributes |
JsonFlow.Composer | TJSONComposer in-place editor |
JsonFlow.Navigator | TJSONNavigator path helper |
JsonFlow.SchemaValidator | TSchemaValidator Draft 7 engine |
Horse.JsonFlow | Horse web-framework middleware |
Requirements
- Delphi XE or later
- No external runtime dependencies for core functionality
Horserequired only forHorse.JsonFlowmiddleware