Boost logo

Boost :

Subject: Re: [boost] JSON Parser + Boost Fusion + adapted structs
From: Richard (legalize+jeeves_at_[hidden])
Date: 2013-05-28 14:03:59


[Please do not mail me a copy of your followup]

boost_at_[hidden] spake the secret code
<CAJosjANCA=jj+QseaaA63KrhmT8E-GaPX___ajf_cmOo_62EEw_at_[hidden]> thusly:

>There's probably something that can be done with boost.spirit to write
>efficient parser/generators. I don't know how well they interface with
>Fusion.

They interface great; it's common practice to adapt a structure with
BOOST_FUSION_ADAPT_STRUCT and have that tied into a Spirit grammar.

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

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