From 45cd518b257d7486c73b619355a243d09a8864d5 Mon Sep 17 00:00:00 2001 From: rxi Date: Sun, 30 Aug 2015 21:37:10 +0100 Subject: [PATCH] Fixed mistake in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a985674..5f95beb 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ json.decode('[1,2,3,{"x":10}]') -- Returns { 1, 2, 3, { x = 10 } } ## Notes * Trying to encode values which are unrepresentable in JSON will never result - in type conversion or other magic: sparse arrays, tables with mixed keys or - invalid numbers (NaN, -inf, inf) will raise an error + in type conversion or other magic: sparse arrays, tables with mixed key types + or invalid numbers (NaN, -inf, inf) will raise an error * `null` values contained within an array or object are converted to `nil` and are therefore lost upon decoding * *Pretty* encoding is not supported, `json.encode()` only encodes to a compact