diff options
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/json.h b/src/json.h new file mode 100644 index 0000000..23cab9a --- /dev/null +++ b/src/json.h @@ -0,0 +1,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 |