TRX/src/json_utils.h

13 lines
357 B
C
Raw Normal View History

2021-02-18 16:40:32 +01:00
#ifndef TOMB1MAIN_JSON_UTILS_H
#define TOMB1MAIN_JSON_UTILS_H
2021-02-08 11:30:21 +01:00
#include "json-parser/json.h"
2021-02-10 16:03:02 +01:00
json_value* tr1m_json_get_field(
json_value* root, json_type field_type, const char* name, int* pIndex);
int tr1m_json_get_boolean_value(json_value* root, const char* name);
const char* tr1m_json_get_string_value(json_value* root, const char* name);
2021-02-08 11:30:21 +01:00
#endif