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):
ad_log_deprecated ad_log_deprecated (public) util::json::object::get_values util::json::object::get_values (public, deprecated) util::json::object::get_value util::json::object::get_value util::json::object::get_value->ad_log_deprecated util::json::object::get_value->util::json::object::get_values

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
[ hide source ] | [ make this the default ]
Show another procedure: