diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-24 11:29:22 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-24 11:29:22 -0700 |
commit | 51a51d2d67dbbe749901f91ed9c1611543943d98 (patch) | |
tree | 56f740371ba310d9c63cf76ea5e641445a81d63d /README.md | |
parent | a2e1fab5d29fa1dd46b3d9edd8ca4be288c853e5 (diff) | |
download | ffi-yajl-51a51d2d67dbbe749901f91ed9c1611543943d98.tar.gz |
add more notes on what options do
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |