From 05ad7beaf3adbe262ef8852c76c291848c4438aa Mon Sep 17 00:00:00 2001 From: rxi Date: Wed, 12 Aug 2015 19:38:01 +0100 Subject: [PATCH] Updated README for surrogate pair support and increased size --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a01bed8..b71f83f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A minimal JSON library for Lua ## Features * Pure Lua implementation -* Tiny: around 250sloc, 7kb +* Tiny: around 270sloc, 8kb * Proper error messages, *eg:* `expected '}' or ',' at line 203 col 30` @@ -29,7 +29,6 @@ json.decode('[1,2,3,{"x":10}]') -- Returns { 1, 2, 3, { x = 10 } } ``` ## Notes -* UTF-16 surrogate pairs are not supported * Tables with the key `1` set are treated as arrays when encoding * `null` values contained within an array or object are converted to `nil` and are therefore lost upon decoding