fpJsonToPas unit
JSON to Pascal code generator
The fpJsonToPas unit provides functionality to generate Object Pascal class definitions from JSON data structures.
The main class TJSONToPascal analyzes JSON input and creates complete Pascal unit code with classes that can serialize to and from JSON.
The generated Pascal classes include properties for each JSON field, optional load/save methods for JSON serialization, and proper type mappings from JSON types to Pascal types.
Classes and records
EJSONToPascal | class | Exception class for JSON to Pascal conversion errors |
TJSONToPascal | class | Main class for generating Pascal code from JSON data |
TPropertyMap | class | Collection of property mapping items |
TPropertyMapItem | class | Collection item representing a single property mapping |
Types
TJSONToPascalOption | enumeration | Options controlling JSON to Pascal code generation |
TJSONToPascalOptions | set | Set of JSON to Pascal generation options |
Topics
JSONToPascalUsage | topic | Using fpjsontopas to generate Pascal classes from JSON |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
