From cc9d05bbb6ac7490418b4a8d942658d28f3d2b00 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 12 Dec 2013 11:18:24 -0800 Subject: [PATCH] document integers as keys change to api in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bd75ec1..767120e 100644 --- a/README.md +++ b/README.md @@ -211,9 +211,9 @@ real_json(_) -> erlang:error(badarg). special representation `[{}]` to differentiate it from the empty list. ambiguities like `[true, false]` prevent the use of the shorthand form of property lists using atoms as properties so all properties must be tuples. - all keys must be encoded as in `string` or as atoms (which will be escaped - and converted to binaries for presentation to handlers). values should be - valid json values + all keys must be encoded as in `string` or as atoms or integers (which will + be escaped and converted to binaries for presentation to handlers). values + should be valid json values ### incomplete input ###