VERSION 10 DOCUMENTATION IS IN PROGRESS. PLEASE VIEW V9 ARTICLES WHILE V10 ARTICLES ARE BEING PUBLISHED.

Deserialization

Prev Next

Overview

Deserialization is the process of reversing a String from a previously serialized format. This coverts the serialized String into a format that allows its Data Structure properties to be accessible to manipulation.


Through the use of Deserialization steps, JSON, XML, and XSD Strings can be deserialzed via their respective steps. 


Properties

JSON Deserialize Step

Setting CategoryNameDescription
ParameterShow Only User Defined JSON TypesLimits the type dropdown list to only show user-defined JSON Data Types
ParameterIsOutputArrayChanges the step output to be a list of a type instead of a single type
ParameterJSON Type or TypeType of string that the step will Deserialize
InputsString to DeserializationThe Deserialization step input variable name
OutputJsonDeserialize1_OutputThe Deserialization step output variable that can be a list if the IsOuputArray checkbox is set to true
OutputError MessageError message output variable

XML Deserialize Step

Setting CategoryNameDescription
ParameterShow Only User Defined XML TypesLimits the type dropdown list to only show user-defined XML Data Types
ParameterXML Type or TypeType of String that the step will Deserialize
InputsString to DeserializeThe Deserialization step input variable name
OutputXmlDeserialize1_OutputThe Deserialization step output variable
OutputError MessageError message output variable

XSD Deserialize Step

Setting CategoryNameDescription
ParameterShow Only User Defined XML TypesLimits the type dropdown list to only show user-defined XML Data Types
ParameterXML Type or TypeType of String that the step will Deserialize
InputsString to DeserializeThe Deserialization step input variable name
OutputXsdDeserialize1_OutputThe Deserialization step output variable
OutputError MessageError message output variable

Example

  1. From the Flow that was previously created using the Serialization article, hover over the Done path of the Json Serialize step and click the plus icon.
  2. Navigate to All Steps [Catalog] > Data > Json, select the Json Deserialize step and click ADD.
  3. With the Json Deserialize step selected, map Json Serialize_ Output to INPUTS > String to Deserialize.
  4. Uncheck Show Only User Defined JSON Type under PARAMETERS.

    Then, under the Type field, enter "account" in the text box and select Account [DecisionsFramework].
  5. In the OUTPUTS category, set Output to Rename. Then, enter "JSonDeserialize_Output" in the text box.

    Connect the Done path to the End step. Then, Save the Flow.

Debug

  1. From the top Action Bar, click Debug. Then, click START DEBUGGING.
  2. Click the Json Deserialize step. Click Execution 1 and select View Output Data.
  3. Verify that the String has been deserialized into each individual data member of the Account Data Type.


For further information on Flows, visit the Decisions Forum.