diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/poly/lux/data/format/json.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/poly/lux/data/format/json.lux b/stdlib/source/poly/lux/data/format/json.lux index cae14c54b..1f9234a4d 100644 --- a/stdlib/source/poly/lux/data/format/json.lux +++ b/stdlib/source/poly/lux/data/format/json.lux @@ -217,7 +217,7 @@ <type>.parameter <type>.recursive-call ## If all else fails... - (p.fail (format "Cannot create JSON encoder for: " (type.to-text inputT))) + (p.fail (format "Cannot create JSON encoder for: " (type.format inputT))) )))) (poly: #export codec//decode @@ -319,7 +319,7 @@ <type>.parameter <type>.recursive-call ## If all else fails... - (p.fail (format "Cannot create JSON decoder for: " (type.to-text inputT))) + (p.fail (format "Cannot create JSON decoder for: " (type.format inputT))) )))) (syntax: #export (codec inputT) |