[boost] JSON Archives for Boost.Serialization

355 views
Skip to first unread message

Matt Calabrese

unread,
May 7, 2014, 8:47:37 PM5/7/14
to bo...@lists.boost.org
I'm looking into implementing JSON archives to be used with
Boost.Serialization in a manner similar to the xml archives. After a quick
search I see that others have worked on this (2008 GSOC project?), though
there is nothing currently in Boost that I see. Is there any existing work
on this that is up somewhere before I implement my own from scratch?

--
-Matt Calabrese

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Brian Schrom

unread,
May 7, 2014, 11:13:11 PM5/7/14
to bo...@lists.boost.org

On 05/07/2014 05:47 PM, Matt Calabrese wrote:
> I'm looking into implementing JSON archives to be used with
> Boost.Serialization in a manner similar to the xml archives. After a
quick
> search I see that others have worked on this (2008 GSOC project?), though
> there is nothing currently in Boost that I see. Is there any existing
work
> on this that is up somewhere before I implement my own from scratch?
>

We have a home grown solution that uses the serialization notion that
wraps json_spirit. It might be something to start from if you end up
implementing your own based on json_spirit. I don't remember if it was
this list or elsewhere, but there are faster JSON parsers that you may
want to consider. I think Spirit v3 will offer opportunity for faster
parsing.

Bjorn Reese

unread,
May 8, 2014, 2:46:29 AM5/8/14
to bo...@lists.boost.org
On 05/08/2014 02:47 AM, Matt Calabrese wrote:
> I'm looking into implementing JSON archives to be used with
> Boost.Serialization in a manner similar to the xml archives. After a quick

http://protoc.sourceforge.net/

Matt Calabrese

unread,
May 8, 2014, 1:46:04 PM5/8/14
to bo...@lists.boost.org
On Wed, May 7, 2014 at 11:46 PM, Bjorn Reese <bre...@mail1.stofanet.dk>wrote:

> On 05/08/2014 02:47 AM, Matt Calabrese wrote:
>
>> I'm looking into implementing JSON archives to be used with
>> Boost.Serialization in a manner similar to the xml archives. After a quick
>>
>
> http://protoc.sourceforge.net/


Awesome, thanks. I'll check it out.

--
-Matt Calabrese
Reply all
Reply to author
Forward
0 new messages