summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.c b/json.c
index 2dfb368..da52efa 100644
--- a/json.c
+++ b/json.c
@@ -2,7 +2,6 @@
// provides FAST(ish) parsing but SLOW lookup
// this is especially fast for small objects
// this actually supports "extended json", where objects can have arbitrary values as keys.
-
typedef struct {
u32 pos;
u32 len;
@@ -57,6 +56,7 @@ typedef struct {
JSONValue *values;
} JSON;
+
#define SKIP_WHITESPACE while (json_is_space(text[index])) ++index;
const char *json_type_to_str(JSONValueType type) {