xowiki::formfield::number instproc json_value (public)
<instance of xowiki::formfield::number> json_value value
Defined in /var/www/openacs/packages/xowiki/tcl/json-procs.tcl
Export a JSON number, mapping an empty value to null and preserving invalid nonempty values as strings.
- Parameters:
- value (required)
- Stored numeric field value.
- Returns:
- Two-element ns_json type/payload pair.
- Testcases:
- No testcase defined.
Source code: return [::xowiki::json_scalar number $value]XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)