mapConstant
Adds a mapping where the value to map is given by the constant value and will be mapped to the given destination
Returns a ConstantOptions with which to configure some options if required.
Parameters
value
The constant value to map to the given destination
destination
The destination key to store the mapped value
Adds a mapping where the value to map is given by the constant value and will be mapped to the given destination located/stored at some configured level of nesting as defined by the JsonObjectPath.
Returns a ConstantOptions with which to configure some options if required.
Parameters
value
The constant value to map to the given destination
destination
The destination key to store the mapped value