Re: [Cppcms-users] json
Brought to you by:
artyom-beilis
From: Василий Т. <par...@gm...> - 2016-02-04 09:41:26
|
All the ways to deserialize this string (or alternative - with nested json inside array) to cppcms::json::value give undefined result. load() stops on '[' or something like that. (ver.1.0.5) 2016-02-03 9:26 GMT+03:00 Artyom Beilis <art...@gm...>: > Please explain me what are you trying to do as it seems to me from the > first glance a valid json. > > Artyom > P.S.: As usually I forgot to reply from GMail > > On Tue, Feb 2, 2016 at 12:08 PM, Василий Теркин <par...@gm...> > wrote: > > Hello > > Is there a way to deal with json arrays like > > {"units" : [{"id":1,"name":"test1"},{"id":2,"name":"test2"}]} > > ? > > I can't force cppcms to load such string into json without error. > > The only way is to use nested array as string value for a while :( > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |