JSON parsing library by Andrii Mamchur https://github.com/amamchur/jsonlite
Dependents: M2X_dev MTS_M2x_Example1 MTS_M2x_Example m2x-demo-all ... more
jsonlite_parser_callbacks Struct Reference
Contains references to client callback functions. More...
#include <jsonlite.h>
Data Fields | |
jsonlite_state_callback | parse_finished |
Called when parser finished tokenization. | |
jsonlite_state_callback | object_start |
Called when parser found object start. | |
jsonlite_state_callback | object_end |
Called when parser found object end. | |
jsonlite_state_callback | array_start |
Called when parser found array start. | |
jsonlite_state_callback | array_end |
Called when parser found array end. | |
jsonlite_state_callback | true_found |
Called when parser found true token. | |
jsonlite_state_callback | false_found |
Called when parser found false token. | |
jsonlite_state_callback | null_found |
Called when parser found null token. | |
jsonlite_value_callback | key_found |
Called when parser found key token. | |
jsonlite_value_callback | string_found |
Called when parser found string token. | |
jsonlite_value_callback | number_found |
Called when parser found number token. | |
jsonlite_callback_context | context |
Callbacks' context, will be past as first parameter of callback function. |
Detailed Description
Contains references to client callback functions.
You can use the global jsonlite_default_callbacks constant to initialize default values.
Definition at line 633 of file jsonlite.h.
Field Documentation
jsonlite_state_callback array_end |
Called when parser found array end.
Definition at line 653 of file jsonlite.h.
jsonlite_state_callback array_start |
Called when parser found array start.
Definition at line 649 of file jsonlite.h.
Callbacks' context, will be past as first parameter of callback function.
Definition at line 681 of file jsonlite.h.
jsonlite_state_callback false_found |
Called when parser found false token.
Definition at line 661 of file jsonlite.h.
jsonlite_value_callback key_found |
Called when parser found key token.
Definition at line 669 of file jsonlite.h.
jsonlite_state_callback null_found |
Called when parser found null token.
Definition at line 665 of file jsonlite.h.
jsonlite_value_callback number_found |
Called when parser found number token.
Definition at line 677 of file jsonlite.h.
jsonlite_state_callback object_end |
Called when parser found object end.
Definition at line 645 of file jsonlite.h.
jsonlite_state_callback object_start |
Called when parser found object start.
Definition at line 641 of file jsonlite.h.
jsonlite_state_callback parse_finished |
Called when parser finished tokenization.
You can retrieve result of parsing using jsonlite_parser_get_result.
Definition at line 637 of file jsonlite.h.
jsonlite_value_callback string_found |
Called when parser found string token.
Definition at line 673 of file jsonlite.h.
jsonlite_state_callback true_found |
Called when parser found true token.
Definition at line 657 of file jsonlite.h.
Generated on Thu Jul 28 2022 08:30:58 by
