From 0be32393e54bed6bbf5890edba72b8808d276289 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 17:06:53 +0200 Subject: format --- json.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'json.h') diff --git a/json.h b/json.h index fc2dcfe..13a3f11 100644 --- a/json.h +++ b/json.h @@ -5,17 +5,17 @@ #include "vec.h" typedef struct { - Vec keys; // Vec + Vec keys; // Vec Vec values; // Vec size len; } JSONObject; typedef struct { - int *integer; - Vec *array; // Vec - Str *string; - JSONObject *object; + int *integer; + Vec *array; // Vec + Str *string; + JSONObject *object; } JSON; -JSON* JSONObject_get(JSONObject *obj, Str key); +JSON *JSONObject_get(JSONObject *obj, Str key); JSON JSON_parse(Arena *a, byte *src); JSON JSON_Int(Arena *a, int val); #endif -- cgit v1.3