Skip to main content

Installation

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

  1. Clone or download the repository: https://github.com/ModernDelphiWorks/JsonFlow
  2. 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\
  1. To use the Horse middleware add Source\Middleware-Horse\ to the search path and ensure Horse is also on the path.

Unit reference

UnitPurpose
JsonFlowUnified TJsonFlow facade
JsonFlow.InterfacesCore interface tree + schema interfaces
JsonFlow.WriterTJSONWriter implementation
JsonFlow.ReaderTJSONReader implementation
JsonFlow.SerializerRTTI-based TJSONSerializer
JsonFlow.Serializer.AttributesSerialization control attributes
JsonFlow.ComposerTJSONComposer in-place editor
JsonFlow.NavigatorTJSONNavigator path helper
JsonFlow.SchemaValidatorTSchemaValidator Draft 7 engine
Horse.JsonFlowHorse web-framework middleware

Requirements

  • Delphi XE or later
  • No external runtime dependencies for core functionality
  • Horse required only for Horse.JsonFlow middleware