aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data
diff options
context:
space:
mode:
authorEduardo Julian2021-09-06 00:37:49 -0400
committerEduardo Julian2021-09-06 00:37:49 -0400
commit06c5f9af1d7aa291ae8e7bdd75af57bbe0684193 (patch)
tree44fa917bf4b5299ec53a368448255eeccbe78be7 /stdlib/source/documentation/lux/data
parent132ffdae1add622c8a3c6065d7730a8fe8ea5e78 (diff)
Documentation improvements.
Diffstat (limited to 'stdlib/source/documentation/lux/data')
-rw-r--r--stdlib/source/documentation/lux/data/format/json.lux19
1 files changed, 12 insertions, 7 deletions
diff --git a/stdlib/source/documentation/lux/data/format/json.lux b/stdlib/source/documentation/lux/data/format/json.lux
index cf3182daa..6bb637058 100644
--- a/stdlib/source/documentation/lux/data/format/json.lux
+++ b/stdlib/source/documentation/lux/data/format/json.lux
@@ -12,13 +12,18 @@
(documentation: /.json
"A simple way to produce JSON literals."
- [(json #null)]
- [(json #1)]
- [(json +123.456)]
- [(json "this is a string")]
- [(json ["this" "is" "an" "array"])]
- [(json {"this" "is"
- "an" "object"})])
+ ["null"
+ (json #null)]
+ ["true"
+ (json #1)]
+ ["123.456"
+ (json +123.456)]
+ ["'this is a string'"
+ (json "this is a string")]
+ ["['this' 'is' 'an' 'array']"
+ (json ["this" "is" "an" "array"])]
+ ["{'this' 'is', 'an' 'object'}"
+ (json {"this" "is" "an" "object"})])
(documentation: /.fields
"Get all the fields in a JSON object."