aboutsummaryrefslogtreecommitdiff
path: root/json.h
blob: 588cb6bf8211d2b6f56dbbc40e55f6a38ba21d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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