How can I tell if a JSON value is a number using Perl's JSON::XS? [closed]
- by Jay Gridley
Possible Duplicate:
In Perl, how can I tell if a string is a number?
I am parsing a JSON string using JSON::XS module in Perl and I need to determine, if actual returned scalar is string or number, JSON::XS should return me that, but I cannot figure out how to ask? Any ideas?