Possible Duplicate:
Access the first property of an object
I have a hash h decoded from JSON, and it contains only one entry. I don’t care (and I don’t need to know) about the key for this entry, but just want to get its corresponding value.
What is the fastest method?
It would be much, much nicer if you knew what the key was, but if not, this should work