Subject Re: xbJson - how to make the root element an array
From Chris Carmac <ccarmac@freedomsoft.info>
Date Wed, 29 Jan 2020 13:24:11 -0500
Newsgroups xb2net

Osvaldo Ramirez Wrote:

> Sorry I made a mistake, the correct lib is :
>
> Chilkat_9_5_0.JsonObject, not XML.
>
>
> On 29/01/20 9:47, Osvaldo Ramirez wrote:
> > Hello Chris Carmac
> >
> > I had the same problem time ago with this kind of json, and I tried with
> > xb2net, dataobject and json_() functions, with out success, then I used
> > chilkat xml and It work.
> >
> > HTH
> > Osvaldo Ramirez
> >
> > On 29/01/20 8:47, Chris Carmac wrote:
> >> [
> >>    {
> >>      "start_time": "09:30",
> >>      "end_time": "10:30",
> >>      "date": "2020-01-30"
> >>    },
> >>    {
> >>      "start_time": "11:30",
> >>      "end_time": "13:30",
> >>      "date": "2020-01-31"
> >>    }
> >> ]
> >
>

Osvaldo, thanks for the reply.  If no one posts a response showing how to do this with xbJson(), I will investigate the Chilkat JSON option. Chris

Recent messages in this thread
 
-# xbJson - how to make the root element an array Chris Carmac 29-Jan-2020 10:47 am
.-# Re: xbJson - how to make the root element an array Osvaldo Ramirez 29-Jan-2020 11:47 am
.|-# Re: xbJson - how to make the root element an array Osvaldo Ramirez 29-Jan-2020 11:54 am
.|.-# Re: xbJson - how to make the root element an array (Current message) Chris Carmac 29-Jan-2020 01:24 pm
.|..\# Re: xbJson - how to make the root element an array Osvaldo Ramirez 29-Jan-2020 02:22 pm
.-# Re: xbJson - how to make the root element an array Adrian B 29-Jan-2020 03:00 pm
..\# Re: xbJson - how to make the root element an array Chris Carmac 30-Jan-2020 03:47 pm