diff options
Diffstat (limited to 'stdlib/source/lux/data/format/json.lux')
-rw-r--r-- | stdlib/source/lux/data/format/json.lux | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux index cd7b82be0..0316b5a9b 100644 --- a/stdlib/source/lux/data/format/json.lux +++ b/stdlib/source/lux/data/format/json.lux @@ -1,25 +1,28 @@ (.module: {#.doc "Functionality for reading and writing values in the JSON format. For more information, please see: http://www.json.org/"} - [lux (#- Array)] - (lux (control [monad (#+ do Monad)] - [equivalence (#+ Equivalence)] - codec - ["p" parser ("parser/" Monad<Parser>)]) - (data [bool] - [text ("text/" Equivalence<Text> Monoid<Text>)] - (text ["l" lexer]) - [number ("frac/" Codec<Text,Frac>) ("nat/" Codec<Text,Nat>)] - [maybe] - ["e" error] - [sum] - [product] - (collection [list ("list/" Fold<List> Monad<List>)] - [row (#+ Row row) ("row/" Monad<Row>)] - ["dict" dictionary (#+ Dictionary)])) - [macro (#+ Monad<Meta> with-gensyms)] - (macro ["s" syntax (#+ syntax:)] - [code]))) + [lux (#- Array) + [control + [monad (#+ do Monad)] + [equivalence (#+ Equivalence)] + codec + ["p" parser ("parser/" Monad<Parser>)]] + [data + [bool] + [text ("text/" Equivalence<Text> Monoid<Text>) + ["l" lexer]] + [number ("frac/" Codec<Text,Frac>) ("nat/" Codec<Text,Nat>)] + [maybe] + ["e" error] + [sum] + [product] + [collection + [list ("list/" Fold<List> Monad<List>)] + [row (#+ Row row) ("row/" Monad<Row>)] + ["dict" dictionary (#+ Dictionary)]]] + [macro (#+ Monad<Meta> with-gensyms) + ["s" syntax (#+ syntax:)] + [code]]]) (do-template [<name> <type>] [(type: #export <name> <type>)] |