- Use case
- Video guide
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, and YAML.
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.
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).
Step 7: On clicking the Run Test button, you will see that the Deserialize mapper has deserialized the specified key into a workable object.