This mapper modifies the input
object to add fields with default values if they are not present. Instances of this validator are constructed from an instance of Map that stores default - string - values for keys.
The values of the original map from which this validator is constructed must be String instances. These values are transformed using {@link speculoos.utils.VariableString} which are then evaluated at run time using the input map as environment for substitution. This means that default values can be expressed as syntactic substitutions of actual values.
@author abailly
|
|