summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-04-24 11:29:22 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-04-24 11:29:22 -0700
commit51a51d2d67dbbe749901f91ed9c1611543943d98 (patch)
tree56f740371ba310d9c63cf76ea5e641445a81d63d /README.md
parenta2e1fab5d29fa1dd46b3d9edd8ca4be288c853e5 (diff)
downloadffi-yajl-51a51d2d67dbbe749901f91ed9c1611543943d98.tar.gz
add more notes on what options do
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 12d1af9..53fa45c 100644
--- a/README.md
+++ b/README.md
@@ -70,12 +70,14 @@ hash = parser.parse( json )
* `:check_utf8`
* `:dont_validate_strings`
-* `:symbolize_keys` (default = false):
+* `:symbolize_keys` (default = false): JSON keys are parsed into symbols instead of strings.
* `:symbolize_names` (default = false): Alias for `:symbolize_keys`.
* `:allow_trailing_garbage`
* `:allow_multiple_values`
* `:allow_partial_values`
-* `:unique_key_checking`
+* `:unique_key_checking` (default = false): Will raise an exception if keys
+ are repeated in hashes in the input JSON. Without this, repeated keys will
+ silently replace the previous key.
## Encoder Options