Strings can be atoms or binaries
Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/f284a1b2 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/f284a1b2 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/f284a1b2 Branch: refs/heads/master Commit: f284a1b2b0799441665209a86ce14c1f0921d6ca Parents: a32a12f Author: Paul J. Davis <[email protected]> Authored: Fri Jul 17 11:59:39 2015 -0500 Committer: Paul J. Davis <[email protected]> Committed: Fri Jul 17 11:59:39 2015 -0500 ---------------------------------------------------------------------- src/jiffy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/f284a1b2/src/jiffy.erl ---------------------------------------------------------------------- diff --git a/src/jiffy.erl b/src/jiffy.erl index 6fc0fa3..c987997 100644 --- a/src/jiffy.erl +++ b/src/jiffy.erl @@ -19,7 +19,7 @@ | json_array(). -type json_array() :: [json_value()]. --type json_string() :: binary(). +-type json_string() :: atom() | binary(). -type json_number() :: integer() | float(). -type json_object() :: {[{json_string(),json_value()}]}.
