ddnet/src/engine/shared/json.h
def 3be8a592e5 Run clang-format
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:

$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00

17 lines
605 B
C

#ifndef ENGINE_SHARED_JSON_H
#define ENGINE_SHARED_JSON_H
#include <engine/external/json-parser/json.h>
const struct _json_value *json_object_get(const json_value *object, const char *index);
const struct _json_value *json_array_get(const json_value *array, int index);
int json_array_length(const json_value *array);
const char *json_string_get(const json_value *string);
int json_int_get(const json_value *integer);
int json_boolean_get(const json_value *boolean);
char *EscapeJson(char *pBuffer, int BufferSize, const char *pString);
const char *JsonBool(bool Bool);
#endif // ENGINE_SHARED_JSON_H