JSON to Pascal code generator
uses |
||
|
JSON support for Free Pascal. |
|
|
JSON data parser implementation |
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.
|
Using fpjsontopas to generate Pascal classes from JSON |