summaryrefslogtreecommitdiff
path: root/include/json_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/json_lib.h')
-rw-r--r--include/json_lib.h6
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 */
-