17#include "ws_symbol_export.h"
31WS_DLL_PUBLIC
bool json_validate(
const uint8_t *buf,
const size_t len);
33WS_DLL_PUBLIC
int json_parse(
const char *buf,
jsmntok_t *tokens,
unsigned int max_tokens);
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:176
WS_DLL_PUBLIC char * json_get_string(char *buf, jsmntok_t *parent, const char *name)
Definition wsjson.c:156
WS_DLL_PUBLIC bool json_decode_string_inplace(char *text)
Definition wsjson.c:235
WS_DLL_PUBLIC int json_get_array_len(jsmntok_t *array)
Definition wsjson.c:136
WS_DLL_PUBLIC jsmntok_t * json_get_object(const char *buf, jsmntok_t *parent, const char *name)
Definition wsjson.c:102
WS_DLL_PUBLIC bool json_get_boolean(char *buf, jsmntok_t *parent, const char *name, bool *val)
Definition wsjson.c:197
WS_DLL_PUBLIC jsmntok_t * json_get_array(const char *buf, jsmntok_t *parent, const char *name)
Definition wsjson.c:119
WS_DLL_PUBLIC jsmntok_t * json_get_array_index(jsmntok_t *parent, int idx)
Definition wsjson.c:143