util::tdomNodes2dict (private)

 util::tdomNodes2dict nodes parentType

Defined in packages/acs-tcl/tcl/json-procs.tcl

Helper proc for util::json2dict, which returns the tDOM structure in the form of a Tcl dict. Use this proc only on dom structures created with "porse -json", since it depends on the internal node structure of tDOM. It would be certainly better to have this function built-in in tDOM (call like "asDict", similar to "asXML")

Parameters:
nodes
parentType
Returns:
dict
Author:
Gustaf Neumann

Partial Call Graph (max 5 caller/called nodes):
%3 test_json_to_dict json_to_dict (test acs-tcl) util::tdomNodes2dict util::tdomNodes2dict test_json_to_dict->util::tdomNodes2dict util::tdomDoc2dict util::tdomDoc2dict (public) util::tdomDoc2dict->util::tdomNodes2dict

Testcases:
json_to_dict
[ show source ]
Show another procedure: