util::json::validate (private)

 util::json::validate jsonText

Defined in packages/acs-tcl/tcl/json-procs.tcl

Validate JSON text

Parameters:
jsonText (required)
JSON text
Returns:
1 iff $jsonText conforms to the JSON grammar (@see http://json.org/)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:

    variable validJsonRE

    return [regexp -- $validJsonRE $jsonText]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: