I understand that JSON is a “string representation of an object” and not 
literally an object. Nonetheless, I think you would agree that it can be useful 
to have routines that simplify looking up the values that are stored in those 
strings. 

> On Jan 10, 2016, at 3:28 PM, Aparajita Fishman <[email protected]> 
> wrote:
> 
>> I’m curious what the plans are for future JSON support in Active4D.
> 
> None at the moment.
> 
> 
>> We have nice tools to write JSON, but not to read it. I know we can convert 
>> JSON to a collection, but it would be great to have commands to get JSON 
>> values directly from JSON objects as well as set them. 
> 
> No language I know of provides this functionality, including 4D. Perhaps you 
> don't quite understand what JSON is. As the official website says, "JSON 
> (JavaScript Object Notation) is a lightweight data-interchange format." In 
> other words, JSON is meant to be a *string* encoding of structured data, 
> specifically designed as a way to send data over a network. JSON is *not* an 
> object, it is a string representation of an object.
> 
> So one cannot "get" or "set" a JSON value, because it is not meant to be a 
> dynamic object, it's meant to be a string used to import/export entire 
> objects (or arrays of objects).
> 
> 
>> Are there plans to support the new 4D objects and related commands?
> 
> I'd love to, but 4D does not provide any plugin support for objects, so 
> currently it's impossible.
> 
> 
>> If not, are there any plans to provide A4D commands to get JSON values?
> 
> See what I said above about JSON.
> 
> Peace,
> 
> - Aparajita
> 
> 
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to