From 76d84e1ef23f61ead0e5971bf82acd6e19a2a308 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 23 Sep 2010 22:15:53 -0700 Subject: [PATCH] updated specs with new unquoted keys opts --- include/jsx_common.hrl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/jsx_common.hrl b/include/jsx_common.hrl index 4bc0825..33fb9e6 100644 --- a/include/jsx_common.hrl +++ b/include/jsx_common.hrl @@ -34,6 +34,7 @@ -type jsx_opts() :: [jsx_opt()]. -type jsx_opt() :: {comments, true | false} | {escaped_unicode, ascii | codepoint | none} + | {unquoted_keys, true | false} | {multi_term, true | false} | {encoding, auto | utf8 @@ -109,6 +110,7 @@ -type decoder_opts() :: [decoder_opt()]. -type decoder_opt() :: {strict, true | false} | {comments, true | false} + | {unquoted_keys, true | false} | {encoding, supported_utf()} | {label, atom | binary | existing_atom} | {float, true | false}. @@ -117,12 +119,14 @@ -type verify_opts() :: [verify_opt()]. -type verify_opt() :: {strict, true | false} | {encoding, auto | supported_utf()} + | {unquoted_keys, true | false} | {comments, true | false}. -type format_opts() :: [format_opt()]. -type format_opt() :: {strict, true | false} | {encoding, auto | supported_utf()} + | {unquoted_keys, true | false} | {comments, true | false} | {space, integer()} | space