Boost logo

Boost :

Subject: Re: [boost] [gsoc] JSON?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-04-05 11:19:56


On 4/5/2011 3:45 AM, Sebastian Redl wrote:
> On 05.04.2011 07:11, Rene Rivera wrote:
>> * It can't use key names with "." in the name.

> Yes it can. Though the parser might need to be audited to make sure it
> handles them correctly.

Really? Sorry if I'm not all that versed in what property tree can do..
But given this JSON:

   { "x" : { "transform.rotation" : 45, "transform.scale" : 1.5 } }

How would one access the values "45" and 1.5 once it's read into a
property tree? With the additional requirement that I need to know the
full pair, i.e. that "transform.rotation" has a value of 45.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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