Re: Some problems with rexpr and rexpr_full example code

Stephan Menzel <[email protected]> Tue, 18 Jun 2019 19:50:12 +0200
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Hello Maarten,

> On 14. Jun 2019, at 17:35, Maarten Verhage <[email protected]> wrote:
> {
> "color" = "pink"
> "size" = "230 mm"
> "shape" = "rect"
> "position" = { "x" = "-16" "y" = "2" }
> "position2" = { "x" = "-4" "y" = "5" }
> }

I am not an x3 user so I can’t contribute much to your actual problem. Just looking at your serialized data I notice it’s very similar to JSON, although not quite. So, in case you control both ends, you may want to look at Boost property tree, which comes with json support and can parse and serialize stuff like that out of the box. 

Just my 2 cents here...

Stephan 

_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general