JSON Package Groups
A Package Group can be created in the JSON Workbench and serves as a representation of an entire JSON document. In turn, a group is used to create packages, which represent smaller sections of the JSON data and enable you to interact with the values it contains.
You can add and edit package groups using the same interface.
To create a package group, you will need to know how the JSON data is written and have access to a complete example. This can be pasted into the JSON Workbench, which will visualise the structure in a more easy-to-read form.
The actual values contained in the pasted data are irrelevant as the JSON Workbench only uses the structure.
The JSON data itself must be stored in an Input Variable, which is defined against each package. When the package runs, this specified variable will be interrogated and compared against the package group's structure.
It's important that the JSON data used to create the package group exactly match the JSON that is saved in the input variable. If the input data does not match, or if it changes over time, none of the group's packages will work.
To learn how to manage package groups, refer to the following topics:
Description | Further Reading |
---|---|
Set up a new package group in the JSON Workbench. | Creating a JSON Package Group |
Modify the details of an existing package group. | Editing a JSON Package Group |
Permanently remove a package group from the JSON Workbench, including all its packages, and operations. | Deleting a JSON Package Group |