Re: [Cppcms-users] json
Brought to you by:
artyom-beilis
|
From: Василий Т. <par...@gm...> - 2016-02-04 13:40:49
|
Unbelivable.. i can't reproduce my recent problem anymore.
I broke my head against the wall, but now the simplest code works well.
I beg your pardon, Artyom, guys.. I need a vacation i guess..
2016-02-04 12:46 GMT+03:00 Artyom Beilis <art...@gm...>:
> Show the exact full code, it isn't clear what are you doing/trying to do.
>
> Artyom
>
> On Thu, Feb 4, 2016 at 11:41 AM, Василий Теркин <par...@gm...>
> wrote:
> > 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=272487151&iu=/4140
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
|