aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/json.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/data/format/json.lux')
-rw-r--r--stdlib/source/lux/data/format/json.lux8
1 files changed, 6 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux
index 11aa27d3c..e0975d02d 100644
--- a/stdlib/source/lux/data/format/json.lux
+++ b/stdlib/source/lux/data/format/json.lux
@@ -154,7 +154,9 @@
[get-object #Object Object "objects"]
)
-(structure: #export equivalence (Equivalence JSON)
+(structure: #export equivalence
+ (Equivalence JSON)
+
(def: (= x y)
(case [x y]
[#Null #Null]
@@ -361,6 +363,8 @@
(-> Any (Parser JSON))
($_ p.or null~ boolean~ number~ string~ (array~ json~') (object~ json~')))
-(structure: #export codec (Codec Text JSON)
+(structure: #export codec
+ (Codec Text JSON)
+
(def: encode ..format)
(def: decode (l.run (json~' []))))