How to map with Serialize

Table Of Contents

  • Use case
  • Guide
  • Video guide

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 following data types are supported by the Alumio Serializer mapper- JSON, NDJSON, XML, XLXS, cXML, CSV and YAML or encode URL.
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) or select the encoding of a string to an URL encoded string.

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