Creating a JSON Package
Add a new package to a package group in the JSON Workbench.
Implementation:
- Click
to access the JSON Workbench tab.
- Select an existing package group from the list on the left, or create a new group.
- In the Create a Package Group/Update Package Group dialog, right-click a row in the JSON structure and select the type of package to create. When selected, the new package will be added to the list at the bottom.
The Create an Extraction Package from Root option is the same as a standard extraction package. It simply serves as a shortcut to create a package from the root of the currently selected row, so you do not need to manually scroll up the list to find it.
- Double-click the package in the list to open the Create A New Package dialog.
- Give the package a unique Name.
- Enter a unique Reference, which will be used to call the package using the RunJSONPackage function.
- Use the Input Variable field to provide the keyword of the variable that will hold the JSON data.
- (Optional) Provide a standard JSON Filter to narrow down the results returned from the JSON data.
- Use the checkboxes in the Package Properties list to select the properties you want the package to include.
- Create any Operations you want the package to include. For an extraction package, operations are optional, but looping packages must contain at least one.
- Click Save to add the package. This will close the dialog and take you back to the package group interface.
- Click Create Group/Update Group to confirm your changes.