Easy in VFP too:

https://github.com/FoxInCloud/FoxInCloud-AB/

do <path to>/AB.prg

lo = CreateObject('empty')
AddProperty(lo, 'toto', 5)
AddProperty(lo, 'tata', .F.)
AddProperty(lo, 'tutu', 'test')
AddProperty(lo, 'titi', CreateObject('empty'))
AddProperty(lo.titi, 'toto', 5)
AddProperty(lo.titi, 'tata', .F.)
AddProperty(lo.titi, 'tutu', 'test')
AddProperty(lo.titi, 'titi', CreateObject('empty'))
AddProperty(lo.titi.titi, 'toto', 5)
AddProperty(lo.titi.titi, 'tata', .F.)
AddProperty(lo.titi.titi, 'tutu', 'test')

? m.lo == uValueJS([{"TATA":false,"TITI":{"TATA":false,"TOTO":5,"TUTU":'test',"TITI":{"TATA":false,"TOTO":5,"TUTU":'test'}},"TOTO":5,"TUTU":'test'}])

Thierry Nivelet
FoxInCloud
Give your VFP app a second life in the cloud
http://foxincloud.com/

Le 26/08/2016 à 04:26, Stephen Russell a écrit :
This isn't tough outside of VFP.

On Thu, Aug 25, 2016 at 6:13 PM, <
[email protected]> wrote:

On 2016-08-25 10:52, Dave Crozier wrote:

it just seems so damned complicated for a simple result.


That pretty much sums up lots of the web and early DotNet stuff!!!!  I
swear sometimes it seems like these uber-nerds create things to be so
complex simply because they can.


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to