Before starting
1. Install the last version of the component
Please consult the JSON Differences component available in the OutSystems Forge and ensure that the latest version is installed in your environment. If it's not, kindly proceed with the installation. This component operates independently, without any dependencies. At this moment, you may now download and install the demo application.
2. Create a component dependency
In the desired module that should include the JSON Differences, open the 'Manage Dependencies...' option, search for ‘JSONDiff’ and import the ‘JSON_FindDiff’. Apply your changes.
Using JSON Differences
1. Drag and drop the Imported Action ‘JSON_FindDiff’
In the action element that you want to use this conversion drag and drop the imported ‘JSON_FindDiff’ action. It is located under the ‘JSONDiff’ Reference, in the ‘Logic’ tab.
2. Fill in the Action input parameters
‘JSON_FindDiff’ mandatory parameters must be filled in. Consult the parameter details below.
• OldJSON - Text | Mandatory - Old JSON that will be compared with the new JSON.
• NewJSON - Text | Mandatory - New JSON to be compared with the Old JSON.
• IsMinified - Boolean | Optional - If set to True, the MergedJSON output will be minified to save space.
• AttributesToIgnore - Text | Optional - The attributes, comma separated, that will be ignored to check for differences. The attributes selected will be displayed on the MergedJSON output and will take in consideration the value from the NewJSON input..
- Initial version