# How to map with Deserialize

**URL:** <https://forum.alumio.com/t/how-to-map-with-deserialize/266>\
**Category:** Transformers\
**Tags:** mappers\
**Created:** [November 3, 2022, 10:51am UTC](https://forum.alumio.com/t/how-to-map-with-deserialize/266 "2022-11-03T10:51:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alumio\_Bot](https://forum.alumio.com/user_avatar/forum.alumio.com/alumio_bot/32/1824_2.png) [@Alumio\_Bot](https://forum.alumio.com/u/Alumio_Bot)\
**Post date:** [November 3, 2022, 10:51am UTC](https://forum.alumio.com/t/how-to-map-with-deserialize/266/1 "2022-11-03T10:51:49Z")

</div>

### **Table Of Contents**

- Use case
- Guide
- Video guide

### **Use case**

Deserialization of data can be defined as the process of transforming a string into a data object of a distinct type. The following data types are supported by the Alumio Deserialize mapper- JSON, NDJSON, XML, cXML, YAML or encode URL.

**Note:** When using Compressed Deserializer, the following file formats are supported in Alumio: .tar.gz, .gz, zip.

For instance, let’s imagine a scenario where XML data is retrieved as a string and you have to convert it into an object. With Alumio, it is possible to use this data as entity data.

### **Guide**

Here’s an easy guide for you.

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 deserialize from an entity data.

Step 5: Click on Add Mappers and select Deserialize.

Step 6: From the Deserializer drop-down list, select the data type you want to deserialize the key to ( JSON, XML, cXML, and YAML) or select the decoding of an URL encoded string to a decoded string.

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

### **Video guide**

[![](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/1X/7aefb4edafb4de15bb310e852f2aa39d066fcc46.jpeg "Mapping: Deserialize") ](https://www.youtube.com/watch?v=37rklBcdQhY)
