Boost logo

Boost :

Subject: [boost] JSON Parser + Boost Fusion + adapted structs
From: Stephan Bourgeois (stephanb2_at_[hidden])
Date: 2013-05-21 15:58:29


Hi everybody,

I am writing a prototype for the JSON parser for the GSoC with the support
of Bjorn Reese. When discussing the proposal, Michael Marcin suggested an
interface that allows the user to define a struct reflecting the JSON data
structure. I have been looking at Boost.Fusion to enable the parser to
"fill in" the values in the struct.

It looks like I'm after a solution described in the following post:
http://stackoverflow.com/questions/13830792/simulate-compile-time-reflection-in-c

Could anyone tell me if this is a good starting point, and/or if there are
other ways of achieving this.
Thank you,
Stephan.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk