xowiki::formfield::repeatContainer instproc json_value (public)

 <instance of xowiki::formfield::repeatContainer[i]> json_value \
    value

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

Recursively export repeated occurrences as a JSON array in numeric occurrence order. Omit the occurrence-zero template and create field metadata for stored occurrences on demand. Invalid legacy values remain strings.

Parameters:
value (required)
Stored dictionary of occurrence names and values.
Returns:
Two-element ns_json type/payload pair; array payloads contain triples.

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