How paolo-rossi/delphi-neon works
Neon is a Delphi library for converting Delphi values and objects to and from JSON. The main workflow is an application providing a value and configuration to Neon, then receiving JSON or a populated value. The README also documents entity generation and JSON Schema generation and validation. The tree identifies relevant modules, but no source excerpts were available, so internal call wiring beyond documented behavior is left unspecified.
Main entry points: Neon.Core.Persistence.JSON.pas JSON persistence · Neon.Core.Generator.pas Entity generator · Neon.Core.Persistence.pas Persistence API · Neon.Core.Persistence.JSON.Schema.pas Schema generation and validation
Components 14
JSON Serialization
- Persistence API
Source/Neon.Core.Persistence.pas - JSON persistence
Source/Neon.Core.Persistence.JSON.pas - Configuration and attributes
Source/Neon.Core.Attributes.pas
Type Support
- RTTI and types
Source/Neon.Core.TypeInfo.pas - Type serializers
Source/Neon.Core.Serializers.RTL.pas - Dataset serializer
Source/Neon.Core.Serializers.DB.pas - VCL serializer
Source/Neon.Core.Serializers.VCL.pas - Dynamic types
Source/Neon.Core.DynamicTypes.pas
Generation and Schema
- Entity generator
Source/Neon.Core.Generator.pas - Schema generation and validation
Source/Neon.Core.Persistence.JSON.Schema.pas
Other components
- Delphi application
- JSON document
- Delphi values
- Delphi entities
Connections 9
- Delphi application → Persistence API: provides values
- Persistence API → JSON persistence: serializes and reads
- JSON persistence → JSON document: produces or consumes
- JSON persistence → Delphi values: populates
- Delphi application → Entity generator: requests generation
- JSON document → Entity generator: provides input
- Entity generator → Delphi entities: generates
- Delphi application → Schema generation and validation: requests schema work
- Schema generation and validation → JSON document: generates or validates