diff options
author | Eduardo Julian | 2021-07-29 19:23:23 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-07-29 19:23:23 -0400 |
commit | 54b28c1caeda08965c258411a32229be1766d47f (patch) | |
tree | ee0eecd3a009f80e716f2c3c07095bc80d3b70bb /stdlib/source/library/lux/data/format/json.lux | |
parent | 5d4583aebd00adced10275b32ff1a93ab418be50 (diff) |
Switched from the "from to" convention to the "minimum additional" convention.
Diffstat (limited to 'stdlib/source/library/lux/data/format/json.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/json.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/data/format/json.lux b/stdlib/source/library/lux/data/format/json.lux index 417e7791d..8f3293e56 100644 --- a/stdlib/source/library/lux/data/format/json.lux +++ b/stdlib/source/library/lux/data/format/json.lux @@ -234,7 +234,7 @@ (def: string_format (-> String Text) (|>> (text.replace_all text.double_quote ..escaped_dq) - (text.enclose [text.double_quote text.double_quote]))) + (text.enclosed [text.double_quote text.double_quote]))) (template [<token> <name>] [(def: <name> @@ -256,7 +256,7 @@ (|>> (row\map format) row.to_list (text.join_with ..separator) - (text.enclose [..open_array ..close_array]))) + (text.enclosed [..open_array ..close_array]))) (def: (kv_format format [key value]) (-> (-> JSON Text) (-> [String JSON] Text)) @@ -271,7 +271,7 @@ (|>> dictionary.entries (list\map (..kv_format format)) (text.join_with ..separator) - (text.enclose [..open_object ..close_object]))) + (text.enclosed [..open_object ..close_object]))) (def: #export (format json) (-> JSON Text) |