3 ms·
Honestly, I would not be able to use this unless it had, at least, a native C library. Having it be bash-reliant, though quick and simple, makes it much harder
by halosghost 11y ago
Honestly, I would not be able to use this unless it had, at least, a native C library. Having it be bash-reliant, though quick and simple, makes it much harder to actually use it in anything native (shelling out is generally a BadTime™). I do not mean to discourage you though, using JSON as a human-readable data-store is something I've definitely done before, so you have a good idea, I just differ in my needs in the implementation.
Personally, I've used jansson[1] for this kind of thing in the past since it makes working with JSON in C an absolute breeze.
[1] http://www.digip.org/jansson/ http://www.digip.org/jansson/
- deleted 11y ago[deleted]