aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/buildfile1
-rw-r--r--doc/manual.cli23
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/buildfile b/doc/buildfile
index 633505b..5508ddb 100644
--- a/doc/buildfile
+++ b/doc/buildfile
@@ -76,6 +76,7 @@ xhtml{*}: extension = xhtml
for ff: functions-builtin \
functions-string \
functions-integer \
+ functions-json \
functions-bool \
functions-path \
functions-name \
diff --git a/doc/manual.cli b/doc/manual.cli
index 66d0ffb..cd77bfe 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -6113,6 +6113,29 @@ if $regex.match($name, '(.+)-(.+)')
"
source <functions-regex.cli>;
+// $json.*()
+//
+"
+\h#functions-json|JSON Functions|
+
+The \c{$json.*()} function family contains function that operate on the JSON
+types: \c{json}, \c{json_array}, and \c{json_object}. For example:
+
+\
+j = [json] one@1 two@abc three@([json] x@1 y@-1)
+
+for m: $j
+{
+ n = $member_name($m)
+ v = $member_value($m)
+
+ info $n $value_type($v) $v
+}
+\
+
+"
+source <functions-json.cli>;
+
// $process.*()
//