xowiki::json_scalar (private)
xowiki::json_scalar type value
Defined in packages/xowiki/tcl/json-procs.tcl
Return an ns_json type/payload pair. Empty typed scalars become null; invalid nonempty legacy values remain strings.
- Parameters:
- type (required)
- Requested JSON scalar type: number, boolean, or string.
- value (required)
- Stored scalar value, without applying form defaults.
- Returns:
- Two-element list containing the ns_json type and payload.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.