diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-11-28 18:16:46 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-12-12 00:31:43 +0100 |
commit | d68d7e50f928f7966f21524b4247a0a54d09a6d1 (patch) | |
tree | 01bedbae211cde39ee3ec9f040b8aa472ab02270 /include | |
parent | a76aadf7bc54e750e2474a080777e346ddbffc0d (diff) | |
download | mariadb-git-d68d7e50f928f7966f21524b4247a0a54d09a6d1.tar.gz |
json helpers
Diffstat (limited to 'include')
-rw-r--r-- | include/json_lib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/json_lib.h b/include/json_lib.h index 87b2688c850..0f8cff79a32 100644 --- a/include/json_lib.h +++ b/include/json_lib.h @@ -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 */ - |