Parse a string input to the correct property type
The string input to parse
The type to parse as
The parsed value
Parse a string input to the correct property type