Delphi-JsonToDelphiClass
========================
Generates Delphi Classes based on JSON string. Just like XML Data Binding, but for JSON.
Main features:
- Build entirely on the RTL (no external dependencies) so it's cross-platform;
- Accepts any valid JSON string, no matter how complex the object is;
- Visualizes the structure of the JSON objects in a treeview;
- Generates complete delphi unit (declaration and implementation), based on the JSON string input;
- Automatically prefixes reserved Delphi words with "&" (ampersand);
- * Blocks unit generation if the JSON string contains empty Array;
- Adds support code to automatically destroy complex sub types. So you don't have to manage subobject's lifetime manually;
- ** Uses TArray<T> to represent lists;
- Adds helper serialization/deserialization functions;
- Serialization and deserialization results in the same JSON structure!
- Automatically detects date/datetime parts and maps them to TDate/TDateTime (as long as dates are ISO8601 compliant);
- Maps all numbers to Double;
- Maps true/false values to Boolean;
- Allows you to change property names (keys);
- Allows you to change the names of the stub classes;
- Supports JSON pretty print to format the input string;
- Simple and responsive GUI;
- *** Automatic check for update, based on ITask (Parallel Programming Library)!
- It's open source! You can find the source code and binary releases on GitHub.
- The program uses MadExcept to report unhanded exceptions;
* If the JSON array is empty the contained type is unknown. Unit generation works only with known and supported types.
** This is because serialization of TList<T> adds "noise" i.e. includes internal properties that did not exist in the original JSON string.
*** The releases of JsonToDelphiClass (source and binaries) are public and reside on GitHub. The update unit uses GitHub's REST API to enumerate tags/releases.
Report any problems/suggestions using GitHub's facilities.
You can find more information here: http://www.pgeorgiev.com/?p=1832
Delphi-JsonToDelphiClass:根据JSON字符串生成Delphi类(Json To Delphi类生成器JS...
5星 · 超过95%的资源 需积分: 41 174 浏览量
2021-05-03
06:03:31
上传
评论 1
收藏 177KB ZIP 举报
小小鹊
- 粉丝: 34
- 资源: 4534
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈