CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
jsonparse.h
Go to the documentation of this file.
1
3
4#pragma once
5
7
8typedef struct SSDNode SSDNode;
9typedef struct SSDTree SSDTree;
10
54
68typedef void (*jsonParseCB)(_In_ JSONParseEvent* ev, _Inout_opt_ void* userdata);
69
108bool jsonParse(_Inout_ StreamBuffer* sb, _In_ jsonParseCB callback, _Inout_opt_ void* userdata);
109
139_Ret_opt_valid_ SSDNode* jsonParseTree(_Inout_ StreamBuffer* sb);
140
154_Ret_opt_valid_ SSDNode* jsonParseTreeCustom(_Inout_ StreamBuffer* sb, _In_opt_ SSDTree* tree);
155
177_Ret_opt_valid_ SSDNode* jsonTreeFromString(_In_opt_ strref str);
178
SSDNode * jsonParseTree(StreamBuffer *sb)
SSDNode * jsonTreeFromString(strref str)
SSDNode * jsonParseTreeCustom(StreamBuffer *sb, SSDTree *tree)
void(* jsonParseCB)(JSONParseEvent *ev, void *userdata)
Definition jsonparse.h:68
bool jsonParse(StreamBuffer *sb, jsonParseCB callback, void *userdata)
Common types for JSON parsing and output.