I have many web applications that have much much more complex data than just
to sub value level - luckily both json and the plethora of data types in
.net make this easy.

 

From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug
Sent: 14 December 2010 20:39
To: 'U2 Users List'
Subject: Re: [U2] JSON Parsing

 

Hi Rob:

I do not use anything more than Sub-values on the Web.  It just get to
complicated.  However, I have an idea that might work for those that love
the @IM and @TM.

Here is an example from the Wikipedia page modified:
{
     "firstName": "John",
     "lastName": "Smith",
     "age": 25,
     "address":
     {
         "streetAddress": "21 2nd Street",
         "city": "New York",
         "state": "NY",
         "postalCode": "10021"
     },
     "phoneNumber":    [  {  "@VM": "3035551212", "@SM":
"3035551234","@TM":"3035551214"  },  { "@VM": "2125551212", "@IM":
"2125555567" } ]
 }

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rob Sobers
Sent: Tuesday, December 14, 2010 11:45 AM
To: U2 Users List
Subject: Re: [U2] JSON Parsing

Hi Doug,

So you do the conversion from JSON to U2 Dynamic Array *before* you hit the
database layer (i.e., not in UniBasic)?  How do you handle JSON strings that
have more depth than sub-values can accommodate?

-Rob

On Tue, Dec 14, 2010 at 10:34 AM, Doug <dave...@hotmail.com> wrote:

> We call the product XLr8 and it runs on Apache Tomcat.  XLr8 can run
> your favorite language PHP.  Or XLr8 can run JSP, HTML, or JavaScript. 
> Our technology is licensed and not open sourced, so you will have to
> purchase a license.
>
> -----Original Message-----
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
> Sent: Monday, December 13, 2010 4:10 PM
> To: U2 Users List
> Subject: Re: [U2] JSON Parsing
>
> Yes, on the BASIC side.  You use CHANGE in BASIC to convert a
> multidimensional JSON object to a dynamic array?  Okay, you have my
> attention... do tell please.
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users 

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 426/3315 - Release Date: 12/14/10

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to