aboutsummaryrefslogtreecommitdiff
path: root/src/json.h
blob: 23cab9a3520c8af6309d0319e7ae7f9164aa4998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __JSON
#define __JSON
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

typedef struct {
    float price;
    float area;
    float latitude;
    float longitude;
} HouseItem;

void json_read(const char *filepath, HouseItem *out);
#endif
Feel free to download, copy and edit any repo