Files
esp-rainmaker/components/json_generator
Piyush Shah f6ed0c4994 components: Updated and moved some components
- qrcode, ws2812_led and gpio_button moved to examples/common
- esp-insights and rmaker_common submodules updated
- json_generator and json_parser components copied from component
  manager so that they can be used for component overrides
2023-09-22 09:39:55 +05:30
..

JSON Generator

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/

Files

  • src/json_generator.c: Actual source file for the JSON generator with implementation of all APIS
  • include/json_generator.h: Header file documenting and exposing all available APIs

Usage

Include 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