
On Tue, Dec 1, 2009 at 12:44 PM, Dominique Devienne
On Tue, Dec 1, 2009 at 11:55 AM, OvermindDL1
wrote: On Tue, Dec 1, 2009 at 9:38 AM, Sebastian Redl
wrote: Dominique Devienne wrote:
Can anyone recommend one such good targeted library up to Boost's standards you've had good success with? (with a boost-like commercial friendly license)
Boost.PropertyTree has some support for parsing and writing JSON, but it doesn't preserve types.
And even I whipped up a standards-compliant JSON parser in Boost.Spirit 2.1 in only two hours, would be easy to karma'ize it too to output (now that Spirit 2.1 is released with its interface no longer in flux, I really should finish that...)
Sounds good :)
Would you mind sharing the grammar and parser in http://boost-spirit.com/repository/grammars/show_contents.php perhaps, with a Boost like license?
I did post the old version (that worked on a much older Spirit trunk, not the current release) on the Spirit list a long while ago. I meant to update it and give it a better interface and a karma output too then give it to Spirit as an example, I just need to get motivated to give the little amount of time that I have available, to it. ;-) (*hint* poke me to get it done, random emails, that helps a ton).