Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syoyo/libjsonnet-cpp
Embed jsonnet to your C++11 application
https://github.com/syoyo/libjsonnet-cpp
Last synced: about 1 month ago
JSON representation
Embed jsonnet to your C++11 application
- Host: GitHub
- URL: https://github.com/syoyo/libjsonnet-cpp
- Owner: syoyo
- License: apache-2.0
- Created: 2020-03-06T10:39:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T08:30:26.000Z (over 4 years ago)
- Last Synced: 2024-10-16T13:21:42.060Z (3 months ago)
- Language: C++
- Size: 287 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libjsonnet-cpp
Embed jsonnet https://github.com/google/jsonnet for your C++11 application.
Code is grabbed from jsonnet repo.https://github.com/google/jsonnet
## Why
jsonnet++ requires the generation of std.jsonnet.h, which causes build error on some platform and when cross-compiling.
libjsonnet-cpp is a self-contained mobule and does not require third_party libraries and external program execution to embed it to your C++11 application.
## Supported Platform
* [ ] Linux 64bit
* [ ] Android arm64-v8a
* [ ] macOS
* [ ] Visual Studio 2017 or later## Build
### Linux, macOS
### MSVC
## For developer
### How to sync with jsonnet repo.
* Copy C++ related files in the following folder at jsonnet repo
* `include`, `core`, `cpp`
* Generate std.stdlib.h in jsonnet repo, then copy it to `core` folder.## TODO
* [ ] `add_submobule` ready CMakeFile.
## License
libjsonnet-cpp is licensed under Apache 2.0 License.
### Third party licenses
* jsonnet: Apache 2.0 License.
* md5: See `third_party/md5/LICENSE` for details
* json.hpp: MIT license. https://github.com/nlohmann/json