https://github.com/ramstime/jsonparsercpp
JSON parser for C++
https://github.com/ramstime/jsonparsercpp
autogeneration cplusplus json-parser json-schema
Last synced: 5 months ago
JSON representation
JSON parser for C++
- Host: GitHub
- URL: https://github.com/ramstime/jsonparsercpp
- Owner: ramstime
- License: mit
- Created: 2018-12-03T19:26:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T18:19:47.000Z (over 7 years ago)
- Last Synced: 2026-01-23T15:10:56.959Z (5 months ago)
- Topics: autogeneration, cplusplus, json-parser, json-schema
- Language: C++
- Size: 258 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Use this package for generating the json C++ header files and Json decoder library
# generate the cpp header files for json files with fallowing command
./generateCode.py --jsonpath ./jsonfiles/def/ --stjsonpath ./StaticJSON/ --incpath ./inc/
# generate shared library for staticjson
g++ -fPIC src/staticjson.cpp -shared -o libstaticjson.so -I rapidjson-1.1.0/include/ -I include/ -std=c++11
# compile the sample parser with fallowing command
g++ src/jsonparser.cpp -g -std=c++11 -Wall -L StaticJSON -lstaticjson -I StaticJSON/rapidjson-1.1.0/include/ -I StaticJSON/include/ -I inc/ -I inc_common -o bin/jsonparser