TRX/src/json_utils.h

11 lines
320 B
C
Raw Normal View History

2021-02-22 21:44:20 +01:00
#ifndef T1M_JSON_UTILS_H
#define T1M_JSON_UTILS_H
2021-02-08 11:30:21 +01:00
#include "json-parser/json.h"
2021-02-22 22:29:13 +01:00
struct json_value_s* JSONGetField(struct json_value_s* root, const char* name);
int8_t JSONGetBooleanValue(struct json_value_s* root, const char* name);
const char* JSONGetStringValue(struct json_value_s* root, const char* name);
2021-02-08 11:30:21 +01:00
#endif