add json parsing of lists and maps

This commit is contained in:
Felix Van der Jeugt 2022-11-08 23:31:00 +01:00
parent 7471093f67
commit 025c8125fa
No known key found for this signature in database
GPG key ID: 58B209295023754D
16 changed files with 210 additions and 20 deletions

4
json.h
View file

@ -1,7 +1,11 @@
#ifndef JSON_HEADER
#define JSON_HEADER
#include <stdio.h>
#include "sortedmap.h"
#include "arraylist.h"
enum jsontype { NIL, BOOLEAN, STRING, NUMBER, LIST, MAP };
typedef struct json {