jsonprettyprint
format an JSON string.
Syntax
res = jsonprettyprint(txt)
Input argument
txt - a valid JSON text.
Output argument
res - a string: a formatted JSON text (human readable).
Description
jsonprettyprint formats a JSON text string to be human readable.
Example
See also
jsondecode, jsonencode, filewrite.
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated