JSON Formatter examples
Example | Snaps used |
---|---|
Create a File with Header Value in a Specific Location In this pipeline, the JSON Formatter Snap, creates a file with a header value on a specified location. The metadata is passed to the File Writer Snap using the Binary Header and the Content properties on the JSON Formatter Snap. |
|
Filter Output Data Using the JSON Formatter Snap's Content Setting This example demonstrates how, effective 4.20 Patch transform8670 and onwards, you can use the JSON Formatter Snap to filter the input JSON data. |
|
Pass the Execution Status Code through Binary Header Properties In this pipeline, the pipeline execution status is routed to the error view, which is redirected to reflect on the browser using the Binary Header Properties of the JSON Formatter Snap. This allows us to view the status on the browser same as on the output view of the triggered pipeline. |
|
Render outputs from Group By Snaps This example demonstrates how to render groups data from upstream Snaps such as Group By Fields Snap. |
|
Schema Suggest to Upstream Snap In the example pipeline, Basic Use Case_JSON Formatter Schema Property, the Mapper Snap is used to write employee data into a file. The input data has to cater to a specified JSON schema, to enable this the Schema property is configured with a schema file. This allows the user to see the schema of the target file in the Mapper Snap. |