kgabis/parson
View on GitHub ↗ ★ 1,478 C
Lightweight JSON library written in C.
8 mentions on Hacker News by 3 people: 0 stories, 8 comments · first 2012-10-28 · latest 2021-03-01
20082026
-
…being layered on top of sscanf() in other ways. * https://github.com/json-c/json-c/issues/173 * https://github.com/kgabis/parson/commit/96150ba1fd7f3398aa6a...
comment by JdeBP · 2021-03-01 · in Parsing can become accidentally quadratic because of sscanf -
A JSON library in C: https://github.com/kgabis/parson
comment by kgabis · 2017-08-10 · in Ask HN: Projects that don't make you money but you're doing it out of sheer joy? -
…me get my current job, so I've also benefited financially from it. Here's a direct link to github: https://github.com/kgabis/parson [0] https://news.ycombinator.com/item?id=4709169
comment by kgabis · 2016-07-04 · in Ask HN: What did your 'Show HN' project turn into? -
Shameless plug: https://github.com/kgabis/parson (2-file (.h and .c) json parser)
comment by kgabis · 2016-01-23 · in Single-file public-domain/open source C libraries with minimal dependencies -
…a JSON parser in C[0]). Keeping it simple is much more important than adding new features. [0] https://github.com/kgabis/parson
comment by kgabis · 2014-03-02 · in JSON5 is a proposed extension to JSON -
Well, here we go: https://github.com/kgabis/parson/issues/7
comment by kgabis · 2013-08-02 · in Comments in JSON -
Realloc, strdup and strndup errors are handled as of now :) ( https://github.com/kgabis/parson/commit/ee9be98974b3fdac0be1... ) And yes, I've written my own strndup because it's "relatively new".
comment by kgabis · 2012-10-28 · in Show HN: Parson, lighweight json parser in C -
…pointer which will cause a memory leak. I don't see why you duplicated strndup in parson_strndup. https://github.com/kgabis/parson/blob/master/parson.c#L129 parson_strdup can return NULL and this statement will fail silently.
comment by halayli · 2012-10-28 · in Show HN: Parson, lighweight json parser in C