diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-01-31 08:02:09 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-01-31 08:02:09 +0100 |
| commit | 8a9e6b1bd3be1041792311a86d8aac68b659e891 (patch) | |
| tree | 2a62729da17b2e6669c3d71a162525ff37e42c6a /json.h | |
feat: First version, failing json parse string
Diffstat (limited to 'json.h')
| -rw-r--r-- | json.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#ifndef JSON_H +#define JSON_H +#include "memory.h" +#include "string.h" +#include "vec.h" + +typedef struct { + int *integer; + Vec *array; + Str *string; +} JSON; +JSON JSON_parse(Arena *a, Str src); +#endif |
