diff options
author | Eduardo Julian | 2021-09-06 00:37:49 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-06 00:37:49 -0400 |
commit | 06c5f9af1d7aa291ae8e7bdd75af57bbe0684193 (patch) | |
tree | 44fa917bf4b5299ec53a368448255eeccbe78be7 /stdlib/source/documentation/lux/data | |
parent | 132ffdae1add622c8a3c6065d7730a8fe8ea5e78 (diff) |
Documentation improvements.
Diffstat (limited to 'stdlib/source/documentation/lux/data')
-rw-r--r-- | stdlib/source/documentation/lux/data/format/json.lux | 19 |
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." |