From ce38afc59f39619df35ab700357474a9f57a49fa Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Wed, 28 Jun 2023 23:36:37 +0100 Subject: [PATCH] Update json entities --- include/json_entities/json_entities.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/json_entities/json_entities.h b/include/json_entities/json_entities.h index 03fb0e7..5e96018 100644 --- a/include/json_entities/json_entities.h +++ b/include/json_entities/json_entities.h @@ -11,6 +11,7 @@ typedef struct json_value jval_t; typedef struct json_pair jpair_t; typedef enum { + JVAL_EMPTY, JVAL_COLLECTION, JVAL_STRING, JVAL_INTEGER, @@ -22,6 +23,7 @@ typedef enum { struct json_value { jval_type type; union { + void *null_val; jcoll_t *collection; dstr_t *string; i64 num_int;