add null (NIL) and negative numbers
This commit is contained in:
parent
e8897609b7
commit
7471093f67
2 changed files with 25 additions and 10 deletions
2
json.h
2
json.h
|
@ -2,7 +2,7 @@
|
|||
#define JSON_HEADER
|
||||
#include "sortedmap.h"
|
||||
#include "arraylist.h"
|
||||
enum jsontype { BOOLEAN, STRING, NUMBER, LIST, MAP };
|
||||
enum jsontype { NIL, BOOLEAN, STRING, NUMBER, LIST, MAP };
|
||||
|
||||
typedef struct json {
|
||||
enum jsontype type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue