summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-11-15 17:04:31 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-11-15 17:04:31 +0400
commitebe5ebba165863a134c145b1a3709b70925d5100 (patch)
tree049feb2aea5d44134eabb9b451b03d26bad1b707 /include
parent1122c1f0c219a01cdbe5c760b2a846bba80b5949 (diff)
downloadmariadb-git-ebe5ebba165863a134c145b1a3709b70925d5100.tar.gz
MDEV-9143 JSON_xxx functions.
The rest of mysql/json functions implemented. CAST AS JSON implemented.
Diffstat (limited to 'include')
-rw-r--r--include/json_lib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/json_lib.h b/include/json_lib.h
index d9e3bb7c624..ecd108c7567 100644
--- a/include/json_lib.h
+++ b/include/json_lib.h
@@ -227,6 +227,13 @@ int json_read_keyname_chr(json_engine_t *j);
/*
+ Check if the name of the current JSON key matches
+ the step of the path.
+*/
+int json_key_matches(json_engine_t *je, json_string_t *k);
+
+
+/*
json_read_value() function parses the JSON value syntax,
so that we can handle the value of a key or an array item.
It only returns meaningful result when the engine is in