util::json::object::set_value (public, deprecated)

 util::json::object::set_value -object object -attribute attribute \
    -value value

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

Deprecated. Invoking this procedure generates a warning.

For new code, use dict set on Tcl values or ns_json triples setvalue on typed JSON data. Set an attribute value in an object structure. If the attribute doesn't exist in the object, it's created.

Switches:
-object (required)
The object we want to set the value in.
-attribute (required)
The name of the attribute.
-value (required)
The value to set attribute to.
Returns:
A new object with the attribute/value pair.

Partial Call Graph (max 5 caller/called nodes):
ad_log_deprecated ad_log_deprecated (public) util::json::object::create util::json::object::create (public, deprecated) util::json::object::get_values util::json::object::get_values (public, deprecated) util::json::object::set_value util::json::object::set_value util::json::object::set_value->ad_log_deprecated util::json::object::set_value->util::json::object::create util::json::object::set_value->util::json::object::get_values

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