TRX/src/json_utils.h

13 lines
322 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 21:26:01 +01:00
json_value* JSONGetField(
2021-02-10 16:03:02 +01:00
json_value* root, json_type field_type, const char* name, int* pIndex);
2021-02-22 21:26:01 +01:00
int JSONGetBooleanValue(json_value* root, const char* name);
const char* JSONGetStringValue(json_value* root, const char* name);
2021-02-08 11:30:21 +01:00
#endif