summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-01 21:57:02 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-01 21:57:02 -0400
commit0a7ee343eeed8e8826d5a7fe33d2067700152065 (patch)
tree0aa9bbe08df787ba6eb22ff5aced1bc925b7f210 /json.h
parent6028d7bae7ba92ab8e5e00fa9a883dac0389d768 (diff)
downloadgpsd-0a7ee343eeed8e8826d5a7fe33d2067700152065.tar.gz
The JSON parser now has an "ignore" type...
...and it's used for the new dependent _text attributes.
Diffstat (limited to 'json.h')
-rw-r--r--json.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/json.h b/json.h
index ea272f75..8f609175 100644
--- a/json.h
+++ b/json.h
@@ -11,7 +11,8 @@ typedef enum {t_integer, t_uinteger, t_real,
t_string, t_boolean, t_character,
t_time,
t_object, t_structobject, t_array,
- t_check} json_type;
+ t_check, t_ignore}
+ json_type;
struct json_enum_t {
char *name;