<< Click to Display Table of Contents >> Navigation: Actions > Formatter > Format JSON data |
This action is similar to the Format XML data action, with the difference that it works with text in JSON format.
Read JSON from file
Enter the file name or select the file using the file selection dialog. Variables can be used.
Use this JSON text
Specify the JSON text directly in the task. The use of variables is permitted. You can use JSON that was previously generated and saved to a variable.
Format mode
Specify the formatting direction:
•To single line data – conversion to a compact format.
•To readable format – conversion to a readable format. This format is sometimes called the "Pretty print" format.
Save JSON to file
If you want to save formatted data to a file, enable this switch and enter the required file name.
Save JSON to variable
If you want to save formatted data to a variable, enable this switch and enter the variable name.
Please note that you must select at least one option for saving the result. Otherwise, the action loses its meaning.
Related Topics