diff options
author | Eduardo Julian | 2022-06-25 20:24:43 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-25 20:24:43 -0400 |
commit | fb46beb8bd784ba92949bf2c535dc13c2f003ef0 (patch) | |
tree | 28dbec5e8e6a1307a5aee28772d9aa897349bc57 /stdlib/source/library/lux/data/format/json.lux | |
parent | a384e0c9426d6110fa4c104a1327808a0aff91b0 (diff) |
De-sigil-ification: suffix : [Part 15]
Diffstat (limited to 'stdlib/source/library/lux/data/format/json.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/json.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/data/format/json.lux b/stdlib/source/library/lux/data/format/json.lux index 52afae21d..845a4e057 100644 --- a/stdlib/source/library/lux/data/format/json.lux +++ b/stdlib/source/library/lux/data/format/json.lux @@ -32,7 +32,7 @@ ["f" frac (.use "[1]#[0]" decimal)]]]]]) (with_template [<name> <type>] - [(type: .public <name> + [(type .public <name> <type>)] [Null Any] @@ -41,7 +41,7 @@ [String Text] ) -(type: .public JSON +(type .public JSON (Rec JSON (Variant {#Null Null} @@ -52,7 +52,7 @@ {#Object (Dictionary String JSON)}))) (with_template [<name> <type>] - [(type: .public <name> + [(type .public <name> <type>)] [Array (Sequence JSON)] @@ -68,7 +68,7 @@ (-> (List [String JSON]) JSON) (|>> (dictionary.of_list text.hash) {..#Object})) -(type: JSON' +(type JSON' (Rec JSON' (Variant {#Null' Null} |