Skip to content

Parse JSON at compile time, create a structure to hold that JSON and pass that JSON as template parameter if you wish XD

License

Notifications You must be signed in to change notification settings

IYP-Programer-Yeah/compile-time-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compile-time-json

This library allows you to create C++ structures with standard layout that hold JSON object from compile time JSON string while allowing modification of values and reassignment at runtime with constant time access. The JSON objects can also be passed as template parameters as the objects are literal types. See the example for further details on the interfaces and possible use cases.

How to Build

This library requires a compiler with C++20 support. You can compile the example using the Bazel build system with the following command:

bazel run //example:example

About

Parse JSON at compile time, create a structure to hold that JSON and pass that JSON as template parameter if you wish XD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published