From 879f9126b3c4e37e94abfa0287d5514d29ef72a3 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 5 Feb 2014 22:40:35 -0800 Subject: [PATCH] Name the types in the order the JSON spec names them in --- jsonpull.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonpull.h b/jsonpull.h index 931e1c2d..ff15ff43 100644 --- a/jsonpull.h +++ b/jsonpull.h @@ -5,7 +5,7 @@ #include typedef enum json_type { - JSON_STRING, JSON_NUMBER, JSON_ARRAY, JSON_HASH, JSON_NULL, JSON_TRUE, JSON_FALSE, + JSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL, } json_type; typedef struct json_array {