Converting string values to other types
Is your feature request related to a problem? Please describe. If you use asString() on ANY type it will convert that value to a string (even if it is not of type string). However, if we try to use asInt, asBool, etc on a string type it results in an exception being thrown. Looking at the code, it doesn't even attempt to convert string types into the desired type (string type is not in the switch statements for integer values).
Describe the solution you'd like Ideally, the other as functions attempt to convert the string value to the expected value.
Describe alternatives you've considered We can do this ourselves, by type checking before hand... but this becomes tedious for something that appears to be expected functionality (as it exists with asString).
Additional context I found this out because I was storing some types as strings even though they were other types (int, bool, etc). Now, going back and trying to implement type specific values I am running into the issue of using asInt when it's stored as a string.