somewhat
more awkward to implement.
All of this will be sorted out and imporved in v8.
Robert
From: Anthony Humphreys [mailto:anth...@humphreys.org]
Sent: Thursday, April 14, 2016 2:24 AM
To: TeraScript-Talk@terascript.com<mailto:TeraScript-Talk@terascript.com>
Subject: RE: TeraScript-Talk: Best
[mailto:anth...@humphreys.org]
Sent: Thursday, April 14, 2016 2:24 AM
To: TeraScript-Talk@terascript.com
Subject: RE: TeraScript-Talk: Best way to parse JSON objects
Back in the day, I'd use the built-in JS action, and use JSON2.JS to parse JSON
objects, and then pass back to Tango what I needed
Back in the day, I'd use the built-in JS action, and use JSON2.JS to parse
JSON objects, and then pass back to Tango what I needed with the sever
object's set variable.
Does TeraScript still have a JS action or JS tag?
On Apr 13, 2016 19:25, "Robert Shubert" wrote:
Dave,
Dave,
TS 7 doesn’t have a JSON parser built-in. It’s something we can support in 8
because we have nested collections.
I whipped up a simple JSON parser, which is attached. It’s just a block of TML
that you can adapt. It’s not very powerful and won’t support nested objects
(because TS 7