Table of contents

Use case

Serialization of data refers to the conversion of an object to a string which can then be sent out to a different system. The options of Alumio Serializer for the object conversion include JSON, XML, cXML, and YAML. A perfect example of serialization would be the requirement of giving a response of XML data. 


Here’s how to do it!

Step 1: Click on Add Data Transformer.

Step 2: Select Value Mapper.

Step 3: Within the Value Mapper, select Key Accessor from the Accessor drop-down menu.

Step 4: Click on Add Keys and specify the key (or keys) that you wish to serialize from an entity data.

Step 5: Click on Add Mappers and select Deserialize.

Step 6: From the Serializer drop-down list, select the data type you want to serialize the key to ( JSON, XML, cXML, and YAML).

Step 7:  On clicking the Run Test button, you will see that the Serialize mapper has serialized the specified key into a workable datatype object.

Video guide