Creates a new instance. If typeToMapper is undefined the new instance uses the
default mappings. Otherwise, it contains a copy of the typeToMapper mappings.
OptionaltypeToMapper: Map<Type, StringMapper>a mapping from the name of a type to the string representation of its values
Returns the string representation of the mappers.
the string representation of the mappers
Returns the string representation of a value using the mappers.
a value
the string representation of the value
Returns the String representation of an object.