string To Value
This method tries to convert the given string value to the target object
Return
JSON value of this string or the string
Parameters
string
String to convert
type Converter
value converter to convert string to integer, boolean e.t.c
This method is the same as stringToValue.
Return
JSON value of this string or the string
Parameters
string
String to convert