A simple JSON (JavasScript Object Notation) generator with flushing capability. Details of JSON can be found at http://www.json.org/. The JSON strings generated can be validated using any standard JSON validator. Eg. https://jsonlint.com/
src/json_generator.c
: Actual source file for the JSON generator with implementation of all APISinclude/json_generator.h
: Header file documenting and exposing all available APIsInclude the C and H files in your project's build system and that should be enough.
json_generator
requires only standard library functions for compilation
Copy to Clipboard
idf.py add-dependency "espressif/json_generator^1.1.1"
Copy to Clipboard
Copy to Clipboard