klib icon indicating copy to clipboard operation
klib copied to clipboard

Kson new functions for writing to build object manually and write to string.

Open BeppeInfo opened this issue 8 years ago • 1 comments

I'm trying to expand Kson JSON parsing library to something more complete, allowing for writing to a string as well (and making the kson_format function use it). As the previous kson_t structure (putting all the nodes on a flat list), although being more easy for cleaning up, makes it more difficult to add new nodes, I changed it a bit, making it more like a tree of kson_node_t's, modifying the parsing accordingly.

I hope for some feedback it. Thanks.

BeppeInfo avatar Aug 12 '16 04:08 BeppeInfo

I did this as it was needed for my project, but do you think it is useful for merging, @attractivechaos , @lh3 ?

BeppeInfo avatar Sep 01 '16 01:09 BeppeInfo