How to map with Cast: String

Table Of Contents

  • General description
  • Guide
  • Video guide

General description

The Cast: String Mapper converts a value into a string format (e.g., “abc”, “example”). This ensures that all data, regardless of its original type, is represented as a string for consistency and compatibility across systems.

Fields

N/A

Sample data

Input Output
20.95 “20.95”
1 “1”
0 “0”
true “1”
false “”

Guide

Here is how to do it!

Step 1: Click on Add Data Transformer.

Step 2: Select Value Mapper.

Step 3: 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 map from an entity data.

Step 5: Click on Add Mappers and select Cast: String.

Step 6: On clicking the Run Test button, you will see that the Cast: String mapper has mapped the specified key (or keys) to String values.

Video guide