I have a string, which my app reads from a remote API source (Facebook graph), that looks like:
s = '{
"id": "123456",
"name": "App name",
"link": "http://www.example.com",
"location": {
"street": "123 Main St",
"city": "Anytown",
"state": "XX"
},
"username": "platform"
}'
Is there a simple method to create a hash from that string?