Boost logo

Boost Users :

Subject: Re: [Boost-users] [OT] Interested in good (fast, robust) boost-based JSON API
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-12-01 17:42:12


On Tue, Dec 1, 2009 at 12:44 PM, Dominique Devienne <ddevienne_at_[hidden]> wrote:
> On Tue, Dec 1, 2009 at 11:55 AM, OvermindDL1 <overminddl1_at_[hidden]> wrote:
>> On Tue, Dec 1, 2009 at 9:38 AM, Sebastian Redl
>> <sebastian.redl_at_[hidden]> 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).


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net