aboutsummaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 21:46:41 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 21:46:41 +0200
commit413cb3b0c5c70d60eee212c72afed9b5c659b6d8 (patch)
treea509f8d91cab894cc02929cc1747db78ac8ac841 /json.h
parenta6e3e5aaf3af1fa05bc54b793f45d66b3e3f4a05 (diff)
refactor: Vec on arena
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 13a3f11..5d5d703 100644
--- a/json.h
+++ b/json.h
@@ -16,6 +16,7 @@ typedef struct {
JSONObject *object;
} JSON;
JSON *JSONObject_get(JSONObject *obj, Str key);
+int JSON_fprint(FILE *w, JSON json);
JSON JSON_parse(Arena *a, byte *src);
JSON JSON_Int(Arena *a, int val);
#endif