1 | #ifndef ENGINE_SHARED_JSON_H |
2 | #define ENGINE_SHARED_JSON_H |
3 | |
4 | #include <engine/external/json-parser/json.h> |
5 | |
6 | const struct _json_value *json_object_get(const json_value *object, const char *index); |
7 | const struct _json_value *json_array_get(const json_value *array, int index); |
8 | int json_array_length(const json_value *array); |
9 | const char *json_string_get(const json_value *string); |
10 | int json_int_get(const json_value *integer); |
11 | int json_boolean_get(const json_value *boolean); |
12 | |
13 | char *EscapeJson(char *pBuffer, int BufferSize, const char *pString); |
14 | const char *JsonBool(bool Bool); |
15 | |
16 | #endif // ENGINE_SHARED_JSON_H |
17 | |