1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

json helpers

This commit is contained in:
Sergei Golubchik
2018-11-28 18:16:46 +01:00
parent a76aadf7bc
commit d68d7e50f9
3 changed files with 87 additions and 8 deletions

View File

@@ -423,10 +423,14 @@ int json_path_parts_compare(
int json_path_compare(const json_path_t *a, const json_path_t *b,
enum json_value_types vt);
int json_valid(const char *js, size_t js_len, CHARSET_INFO *cs);
int json_get_object_by_key(const char *js, size_t js_len,
const char *key, size_t key_len,
enum json_value_types *value_type,
const char **value_start, size_t *value_len);
#ifdef __cplusplus
}
#endif
#endif /* JSON_LIB_INCLUDED */