17#include "ws_symbol_export.h"
35WS_DLL_PUBLIC
bool json_validate(
const uint8_t *buf,
const size_t len);
WS_DLL_PUBLIC bool json_validate(const uint8_t *buf, const size_t len)
Definition wsjson.c:26
WS_DLL_PUBLIC bool json_get_double(char *buf, jsmntok_t *parent, const char *name, double *val)
Definition wsjson.c:190
WS_DLL_PUBLIC char * json_get_string(char *buf, jsmntok_t *parent, const char *name)
Definition wsjson.c:170
WS_DLL_PUBLIC int json_parse(const char *buf, jsmntok_t *tokens, unsigned int max_tokens)
Definition wsjson.c:87
WS_DLL_PUBLIC bool json_decode_string_inplace(char *text)
Definition wsjson.c:249
WS_DLL_PUBLIC int json_get_array_len(jsmntok_t *array)
Definition wsjson.c:150
WS_DLL_PUBLIC int json_parse_len(const char *buf, size_t len, jsmntok_t *tokens, unsigned int max_tokens)
Definition wsjson.c:96
WS_DLL_PUBLIC jsmntok_t * json_get_object(const char *buf, jsmntok_t *parent, const char *name)
Definition wsjson.c:116
WS_DLL_PUBLIC bool json_get_boolean(char *buf, jsmntok_t *parent, const char *name, bool *val)
Definition wsjson.c:211
WS_DLL_PUBLIC jsmntok_t * json_get_array(const char *buf, jsmntok_t *parent, const char *name)
Definition wsjson.c:133
WS_DLL_PUBLIC jsmntok_t * json_get_array_index(jsmntok_t *parent, int idx)
Definition wsjson.c:157