aboutsummaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorMartin Lehoux <martin@lehoux.net>2025-02-14 16:39:54 +0000
committerGitHub <noreply@github.com>2025-02-14 16:39:54 +0000
commit03632f51152e5e3b6bb74c29987709fbe97a9a69 (patch)
treedf6a4cbb37f084f64066e4caba0367ad4181984b /json.h
parent8a9e6b1bd3be1041792311a86d8aac68b659e891 (diff)
parentd3d71bb044e0ae9af75bd74d4030e1d95f18a68e (diff)
Merge pull request #1 from martinlehoux/json-nested-parsing
json nested parsing
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 588cb6b..44b064e 100644
--- a/json.h
+++ b/json.h
@@ -9,5 +9,6 @@ typedef struct {
Vec *array;
Str *string;
} JSON;
-JSON JSON_parse(Arena *a, Str src);
+JSON JSON_parse(Arena *a, char *src);
+JSON JSON_Int(Arena *a, int val);
#endif