aboutsummaryrefslogtreecommitdiff
path: root/include/json.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-08-23 15:16:04 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-08-27 11:44:07 +0200
commit03b645f22bfc7afadc5a8aa6d59edf0eba74a048 (patch)
treedda64286a408e104879be2544f9c7dc8aa8e333a /include/json.h
parent6836db9b00d4f13a78a53cc5bdb0b63028188b55 (diff)
cleanup & json string simd parsing
Diffstat (limited to 'include/json.h')
-rw-r--r--include/json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/json.h b/include/json.h
index 9bd668e..52566ab 100644
--- a/include/json.h
+++ b/include/json.h
@@ -30,5 +30,5 @@ typedef struct {
} JSON;
JSON *JSONObject_get(JSONObject obj, Str key);
i32 JSON_fprint(FILE *w, JSON json);
-JSON JSON_parse(Arena *a, byte *src);
+JSON JSON_parse(Arena *a, byte *src, uptr len);
JSON JSON_Int(Arena *a, i32 val);