JSON Parser
Using json_init_obj initialize the json by giving json obj as an argument.
Parse the json input data in byte by byte.
Function |
Description |
|---|---|
rs_json_init_obj |
Function to initialize the JSON object |
rs_json_process_input |
Function to parse the JSON input data in byte by byte |
rs_json_output_to_string |
Function to generates the JSON string from the structure data according to the input string length |
rs_json_reset |
Function to reset the JSON object |
Using these ‘rs’ calls set the input required for the json file, call the function ‘rs_json_process_input’ it will parse the data in byte by byte and store in to structure.
Example Demo
Please refer below section,
JSON Parser Header Details
Documentation from the relevant header as follows:
Warning
doxygenfile: Cannot find file “rs_json.h