A single-header C library designed to serialize and deserialize composite types into JSON with minimal setup.
- Single header library.
- Small codebase.
- Focus on flexibility and simplicity.
- No dependencies.
C_rialize is entirely self-contained into 'crialize.h'. You can use it in one of two modes:
By default, simply including the header gives you access to the declarations.
#include "crialize.h"This mode is used when the API must be referenced across multiple scripts.
To Include the
The implementation mode requires defining the preprocessor macro
NK_IMPLEMENTATION in one .c/.cpp file before #includeing this file, e.g.:
#define NK_IMPLEMENTATION
#include "nuklear.h"IMPORTANT: Every time you include "nuklear.h" you have to define the same optional flags. This is very important; not doing it either leads to compiler errors, or even worse, stack corruptions.
-- TODO
-- TODO
- Preprocessor flag for printing errors
- YAML implementation
- YAML or JSON flag
- TODO
- TODO