1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-9143 JSON_xxx functions.

The rest of mysql/json functions implemented.
        CAST AS JSON implemented.
This commit is contained in:
Alexey Botchkov
2016-11-15 17:04:31 +04:00
parent 1122c1f0c2
commit ebe5ebba16
15 changed files with 1619 additions and 59 deletions

View File

@@ -226,6 +226,13 @@ int json_scan_next(json_engine_t *j);
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.