document integers as keys change to api in README

This commit is contained in:
alisdair sullivan 2013-12-12 11:18:24 -08:00
parent 3f218774f1
commit cc9d05bbb6

View file

@ -211,9 +211,9 @@ real_json(_) -> erlang:error(badarg).
special representation `[{}]` to differentiate it from the empty list. special representation `[{}]` to differentiate it from the empty list.
ambiguities like `[true, false]` prevent the use of the shorthand form of ambiguities like `[true, false]` prevent the use of the shorthand form of
property lists using atoms as properties so all properties must be tuples. 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 all keys must be encoded as in `string` or as atoms or integers (which will
and converted to binaries for presentation to handlers). values should be be escaped and converted to binaries for presentation to handlers). values
valid json values should be valid json values
### incomplete input ### ### incomplete input ###