aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/json.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-10 00:24:01 -0400
committerEduardo Julian2018-07-10 00:24:01 -0400
commiteb201f6e669f802650fdf06ea1acb1ef5682297b (patch)
treef8d1fd7dc4b10d46ac0d3ee5ca018f0907060ad0 /stdlib/source/lux/data/format/json.lux
parent474c270f548298fc6404e9c53f038b94eba7e997 (diff)
- Re-named "struct:" to "structure:".
Diffstat (limited to 'stdlib/source/lux/data/format/json.lux')
-rw-r--r--stdlib/source/lux/data/format/json.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux
index 984fbb1aa..01652968f 100644
--- a/stdlib/source/lux/data/format/json.lux
+++ b/stdlib/source/lux/data/format/json.lux
@@ -147,7 +147,7 @@
[get-object #Object Object "objects"]
)
-(struct: #export _ (Equivalence JSON)
+(structure: #export _ (Equivalence JSON)
(def: (= x y)
(case [x y]
[#Null #Null]
@@ -495,6 +495,6 @@
(-> Any (l.Lexer JSON))
($_ p.alt null~ boolean~ number~ string~ (array~ json~') (object~ json~')))
-(struct: #export _ (Codec Text JSON)
+(structure: #export _ (Codec Text JSON)
(def: encode show-json)
(def: decode (function (_ input) (l.run input (json~' [])))))