util::json::gen (public)
util::json::gen value
Defined in packages/acs-tcl/tcl/json-procs.tcl
Top-level procedure to generate a JSON string from its Tcl list representation.
- Parameters:
- value (required)
- A two-element object/array Tcl list.
- Returns:
- A valid JSON string.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { [llength $value] != 2 } { return -code error "Ill-formed JSON object: length in gen is [llength $value]" } return [util::json::gen_inner $value]XQL Not present: Generic, PostgreSQL, Oracle