Hi Tom,

Objects can be 'exported' to JSON quite easily: $json_text:=JSON 
Stringify($4Dobject)
Then you can expose this text data to the external system.

The other way around is: $4Dobject:=JSON Parse($json_text)

I really advise the step up to v15 and further. Objects are quite fun to work 
with...

HTH
Koen

> Op 10 okt. 2018, om 22:15 heeft Benedict, Tom via 4D_Tech 
> <[email protected]> het volgende geschreven:
> 
> I'm stuck on v13.x, so I haven't had an opportunity to learn much about 4D 
> objects. One thing that I would be interested in is how easy it is to expose 
> data in objects to external non-4D systems. Can I pass an object as a 
> response to a web service call from a .Net app and have the JSON or whatever 
> form the object takes be meaningful? Or does that even make sense?



--------------------
Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to