auto iterator returned by find to handle value depending if is string or numeric. #2032
Labels
kind: question
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
I want to make a function which finds a key by name in a json object it works fine when the value is double, but if the value comes as "130.34" it fails, what i need is a way to determine its type if is coming as string then to convert it to double.
the values may come as directly double or as double but in a string ex. "130.34"
The text was updated successfully, but these errors were encountered: