Forum OpenACS Development: Re: Error: invalid command name "json::json2dict"
you seem to mix up the APIs of the various json implementations for Tcl. If you want to use rl_json, use "json get ..." . If you want to use tdom to parse json, use "dom parse -json ..." . If you want to use tcllib's json implementation, use "::json::json2dict ..." . In your snippet above, you seem to use pieces of all of these.
The reason, you are seeing the error message 'invalid command name "json::json2dict"' is that "package require json" is missing (see ) is missing in your script.
I must avoid that bu commenting the code I write. Thanks
Btw, after I've cleaned the snnipet and added "package require json", the error is gone. https://iurix.com/ctree/import-sample