Mapper
Last updated
Was this helpful?
Last updated
Was this helpful?
The Mapper
node can be used to easily map from one data type to another. All functionality of this node can also be done with link mapping.
Source: Receives an Object
or a value type eg. String
, Number
or Boolean
with the values to map. Learn more on .
Examples:
Object ➡ Object
"bar.foo": "baz"
& {"baz": {"foo": "*value*"}}
➡ {"baz": "*value*"}`
Object ➡ Value
"foo[0].bar"
& {"foo": [{"bar: *value*"}]}
➡ *value*
Value ➡ Object
*value*
& "foo[0].bar"
➡ {"foo": [{"bar: *value*"}]}
Out: Returns an Object
or a value type eg. String
, Number
or Boolean
with the mapped values. Learn more on .
Register a user to a database.
Request (Post) ➡ Mapper (Get) ➡ Response (200)