JSON Formatting Processor
The JSON Formatting Processor, in the eiConsole or eiPlatform, takes JSON input and converts it into either collapsed or expanded output Format. PilotFish has 120+ different Processors or connectors included out-of-the-box.
Processor (Adapter) Configuration Drop-Down List
Select the JSON Formatting from the drop-down and click on Add Processor.
Click on Add Processor
Basic JSON Formatting Processor Configuration Options
On the Basic tab, using the Output Format selector, choose which output is desired:
- Expanded – Expanded output adds new line and tab characters to make the JSON more human-readable. It is recommended when writing out to a JSON file or when readability is most important. An example is shown below:
{ "example" : { "name" : "Steve", "age" : 25 } }
- Collapsed – Collapsed output removes all extra formatting characters, leaving a pure JSON string. This is recommended when the JSON will be processed further or sent elsewhere, like to a web service. An example is shown below:
{“example”:{“name”:”Steve”,”age”:25}}
JSON Formatting Processor Basic Configuration Options
Conditional Execution JSON Formatting Processor Configuration Options
On the Conditional Execution tab, you can set additional Processor execution conditions. The transaction data-dependent condition may be specified here as an enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped. No additional configuration for this Processor is required.
JSON Formatting Processor Conditional Execution Configuration Options