nsmcp::Protocol method parameter (protected)
<instance of nsmcp::Protocol> parameter object key types
Defined in /usr/local/ns/tcl/nsmcp/lib/protocol.tcl
Protocol validation, not a JSON implementation. Native access preserves JSON types; getvalue -output triples returns the selected member's data.
- Parameters:
- object (required)
- key (required)
- types (required)
- Testcases:
- No testcase defined.
Source code: if {[catch {ns_json triples gettype -path [list $key] -- $object} type] || $type ni $types} { return -code error -errorcode {NSMCP RPC -32602} "Missing or invalid parameter: $key" } return [ns_json triples getvalue -output triples -path [list $key] -- $object]XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)