Small json parsing library written in C.
Why do we need another json parsing library?
We probably don't, but I'm learning C, and it seemed like a reasonable project to take up a couple of weekends.
- parse_json(char * json_string) - In progress
- pretty_print(GeneSON * obj) - TODO
- serialize(GeneSON * obj) - TODO
- get/set object key (get complete)
- push/pop shift/unshift array
- primitives handled
- parse number object key/value pairs
- parse object key and value
- parse number of array elements
- parse array element
Use linked list for object/arrays, it's going to be a lot easier once we start mutating things, also I believe it will let me parse this in one pass rather than the two I'm currently doing.