summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-05-23 14:02:37 +0300
committerValentin Bartenev <vbart@nginx.com>2017-05-23 14:02:37 +0300
commit48155f3a492beb101b5615dc7ff97f525133b434 (patch)
tree0ad374a58314bee24ec4251e67e3713016fc7d7b /src/nxt_conf.h
parentc7be5bd6ae38bdc7d29ee0b3170e5eb828e92d2d (diff)
downloadunit-48155f3a492beb101b5615dc7ff97f525133b434.tar.gz
unit-48155f3a492beb101b5615dc7ff97f525133b434.tar.bz2
Optimized internal representation of JSON objects and arrays.
Diffstat (limited to '')
-rw-r--r--src/nxt_conf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h
index cf073e3a..43154a8f 100644
--- a/src/nxt_conf.h
+++ b/src/nxt_conf.h
@@ -20,6 +20,8 @@ typedef struct {
nxt_conf_json_value_t *nxt_conf_json_value_get(nxt_conf_json_value_t *value,
nxt_str_t *path);
+nxt_conf_json_value_t *nxt_conf_json_object_get_member(
+ nxt_conf_json_value_t *value, u_char *name, size_t length);
nxt_conf_json_value_t *nxt_conf_json_parse(u_char *pos, size_t length,
nxt_mem_pool_t *pool);
uintptr_t nxt_conf_json_print_value(u_char *pos, nxt_conf_json_value_t *value,