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 (required)
parentType (required)
Returns:
dict
Author:
Gustaf Neumann

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

Testcases:
No testcase defined.
[ show source ]
Show another procedure: