https://github.com/scarsty/struct2xxx
https://github.com/scarsty/struct2xxx
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/scarsty/struct2xxx
- Owner: scarsty
- Created: 2023-01-22T03:12:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T07:50:17.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T02:22:11.294Z (over 1 year ago)
- Language: C++
- Size: 76.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# struct2xxx
本工程计划直接解析C++的struct(或者class)的h文件源码,生成某个泛型格式(例如nlohmann::json)转换到C++的对象以及反向转换的两个函数。
计划做到:
* 不用自己编写描述文件(反面例子:protobuf)
* 不用特意修改头文件(反面例子:增加宏等方案)