aboutsummaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-22 09:39:13 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-22 09:39:13 +0200
commit757fa44326ea8a6ba7b8416996d9b4fbee2fca97 (patch)
tree08a56c3090031cc211e6309ed376a2d6e0afdd1d /json.h
parent95018d0e410c22fc56a6518d967be25428e3a6ed (diff)
feat(json): null parsing
Diffstat (limited to 'json.h')
-rw-r--r--json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.h b/json.h
index 7aba53e..99e3e75 100644
--- a/json.h
+++ b/json.h
@@ -15,6 +15,7 @@ typedef struct {
f32 *floating;
Vec *array; // Vec<JSON>
Str *string;
+ void *null;
JSONObject *object;
} JSON;
JSON *JSONObject_get(JSONObject *obj, Str key);