util::json::object::get_value (public)

 util::json::object::get_value -object object -attribute attribute

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

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.

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