XML to JSON policy commands
XML to JSON policy mode provides the commands to specify an XML to JSON policy.
To enter the mode, use the global assembly-xml-to-json command. To delete an XML to JSON policy, use the global no assembly-xml-to-json command. For more information, see assembly-xml-to-json.
While in this mode, use the commands in the following table to define the XML to JSON policy.
- To view the current configuration, use the show command.
- To restore default values, use the reset command.
- To exit this configuration mode without saving changes to the running configuration, use the cancel command.
- To exit this configuration mode and save changes to the running configuration, use the exit command.
| Command | Purpose |
|---|---|
| admin-state | This command sets the administrative state for the configuration. |
| conversion-format | This command specifies the conversion type that determines the target format of the JSON output. |
| correlation-path | This command specifies the part of the API definition that correlates with the policy. |
| input | This command specifies the variable in the API context that contains the input message to convert for the XML to JSON policy. |
| output | This command specifies variable in the API context to store the conversion results for the XML to JSON policy. |
| summary | This command specifies the brief, descriptive summary for the object instance. |
| title | This command specifies the title for the configuration. |