Read JSON map output

You can map the OutputJSON output parameter that contains the JSON data (stored as a string) to a variable valid to the specified XML schema.

See Creating a Standalone Map for general instructions on mapping.

During run time, an orchestration could invoke the following sequence of activities:
  1. An HTTP Receive activity assigns the received body to a String variable called JSONRawContent.
  2. A Read JSON activity assigns the contents of the JSONRawContent variable to the string input parameter called JSONText.
  3. The Read JSON activity converts JSON data to XML data and passes the XML back to the orchestration via the output parameter. The contents of the output parameter are assigned to the variable valid to the XML schema. The data JSON input document can now be used and mapped within the orchestration.



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/read_json_map_output.html