From f02724602cc6d4fe29b8859f560efad90c9f0159 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Wed, 11 Aug 2010 22:32:57 -0700 Subject: [PATCH] changed a few types --- include/jsx_types.hrl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/jsx_types.hrl b/include/jsx_types.hrl index a1021ca..855eb8e 100644 --- a/include/jsx_types.hrl +++ b/include/jsx_types.hrl @@ -61,18 +61,18 @@ | ok. --type json() :: json_object() | json_array(). +-type eep0018() :: eep0018_object() | eep0018_array(). --type json_array() :: [json_term()]. --type json_object() :: [{json_key(), json_term()}]. +-type eep0018_array() :: [eep0018_term()]. +-type eep0018_object() :: [{eep0018_key(), eep0018_term()}]. --type json_key() :: binary() | atom(). +-type eep0018_key() :: binary() | atom(). --type json_term() :: json_array() | json_object() | json_string() | json_number() | true | false | null. +-type eep0018_term() :: eep0018_array() | eep0018_object() | eep0018_string() | eep0018_number() | true | false | null. --type json_string() :: binary(). +-type eep0018_string() :: binary(). --type json_number() :: float() | integer(). +-type eep0018_number() :: float() | integer(). -type supported_utf() :: utf8 | utf16 | {utf16, little} | utf32 | {utf32, little}.