xowiki::Page instproc json_attribute_type (public)

 <instance of xowiki::Page[i]> json_attribute_type name

Defined in /var/www/openacs/packages/xowiki/tcl/json-procs.tcl

Resolve an attribute's JSON scalar type from inherited slot metadata and the known types of otherwise untyped built-in parameters.

Parameters:
name (required)
Object attribute name, without a form-field underscore prefix.
Returns:
JSON scalar type: number, boolean, or string when unknown.

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