Convert a raw string value to the target type.
The raw string value from the server.
The target type constructor (String, Number, Boolean).
The converted value.
TypeMismatchError if the value cannot be converted.
Convert a raw string value to the target type.