util::json::object::get_value (public, deprecated)
util::json::object::get_value -object object -attribute attribute
Defined in packages/acs-tcl/tcl/json-procs.tcl
Deprecated. Invoking this procedure generates a warning.
For new code, use dict get on Tcl values or ns_json triples getvalue on typed JSON data. Returns the value of an attribute in an object. If the attribute doesn't exist, an error will result.
- Switches:
- -object (required)
- The JSON object which contains the attribute.
- -attribute (required)
- The attribute name.
- Returns:
- The attribute value or an error, if the attribute doesn't exist.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc util::json::object::get_value array set values [util::json::object::get_values $object] return $values($attribute)XQL Not present: Generic, PostgreSQL, Oracle