Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2012 (2)
20082026
  1. …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...
  2. A JSON library in C: https://github.com/kgabis/parson
  3. …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
  4. Shameless plug: https://github.com/kgabis/parson (2-file (.h and .c) json parser)
  5. …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
  6. Well, here we go: https://github.com/kgabis/parson/issues/7
    comment by kgabis · 2013-08-02 · in Comments in JSON
  7. 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".
  8. …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.