FIXED: JSON addParameters Error

If I run this scripts:

TDJ = op.TDModules.mod.TDJSON
TDJ.addParametersFromJSONOp(op(‘base2’), TDJ.opToJSONOp(op(‘base3’)))

I get this error message:

File “/sys/TDModules/TDJSON”, line 288, in addParametersFromJSONOp
File “/sys/TDModules/TDJSON”, line 288, in
AttributeError: ‘str’ object has no attribute ‘name’

Also the link in the wiki: “See also: JSON Overview” (docs.derivative.ca/index.php?title=TDJSON) doesn’t go anywhere…

Cheers, David
Json Error Message.toe (3.67 KB)

Sure enough there was a bug in addParametersFromJSONOp! Will be fixed in next release. Thank you for the report.

The wiki link works for me.

It is that link that doesn’t work for me: cjihrig.com/blog/json-overview/

You get there, when you click on: “See also: JSON Overview” on the wiki page.

Ohhh I see. Will change

Build 2018.23440 has been posted with a fix for this.