Task - Transform XML to JSON
This task transforms an xml document into a JSON Object.
Transform XML String to JSON
Description
Contains a description of the task, enter the reason for its existence here.
JSON key:Â description
Default value: Blank
Input
Enter the input to encode or decode here - see Scripts and Macros for details on how to specify macro content.
JSON key:Â input
Default value: None
Request attribute name
Name of request attribute to store JSON value within. This request attribute is stored within the context for the currently executing request.
JSON key:Â target.attribute.name
Default: None
JSON Configuration
Below is a set of example configuration.
{ "input": "%{compreq.response:saved}", "target.attribute.name": "json", "description": "Transform from XML to JSON", "class": "io.ceptor.pipeline.tasks.TransformXmlToJsonTask" }
© Ceptor ApS. All Rights Reserved.