aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-04-08 13:26:33 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-04-08 13:26:33 +0200
commitd7e5728e831f2bc9424227c84be477c554c97aa8 (patch)
treec18de092ba6ce5823b775a56977c8e1e69988bb9 /src/json
parentcf534d762754860ed5b714974f99acd282d48b3b (diff)
Switch from pyright to ty
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json.c2
-rw-r--r--src/json/test_json.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/json/json.c b/src/json/json.c
index d16415b..b25839f 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -9,9 +9,9 @@
#include <string.h>
#include "../std/assert.h"
-#include "json.h"
#include "../std/str.h"
#include "../std/types.h"
+#include "json.h"
JSONObject *JSONObject_new(Arena *a) {
JSONObject *object = new(a, JSONObject, 1);
diff --git a/src/json/test_json.c b/src/json/test_json.c
index 058f191..b1df94b 100644
--- a/src/json/test_json.c
+++ b/src/json/test_json.c
@@ -1,5 +1,5 @@
-#include "json.h"
#include "../std/testing.h"
+#include "json.h"
#define JSON_parse_raw(a, s) JSON_parse(a, s, lengthof(s));