JSON Minify
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation compresses JSON data by removing unnecessary whitespace, line breaks, and formatting while retaining the full structure and functionality of the JSON. It is handy for reducing the size of JSON files or strings when storage or transfer efficiency is required.
These are the input/output expected data types for this operation:
- Strings representing the JSON data you want to optimize.
- Optimized versions of the JSON data in your input strings.
Suppose you want to minify the JSON data in your input strings. To do it:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Json Minify.
Give your Output field a name and click Save. Your JSON data will be optimized and formatted properly.
For example, the following JSON:
will be formatted like this:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.