From 51a51d2d67dbbe749901f91ed9c1611543943d98 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 24 Apr 2015 11:29:22 -0700 Subject: add more notes on what options do --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.1