
20 Jun
2013
20 Jun
'13
5:18 p.m.
Hello, Question about property tree. I've got an "event" concept which I want to serialize to Json through property tree. If I go something like this: ptree tree; tree.set<int>("event.id", 1); Then the resulting Json would look something like this? { "event": { "id": 1 } } or possibly? { "event": { "id" : "1" } } or possibly, with pretty turned off (nicer for message framing). {"event":{"id":"1"}} Thank you... Regards, Michael Powell