Accessing JSON Key Value Data in Ruby

I want to access that data from within a JSON key. Is there a way to do this without having to parse the key itself. E.g if I had the following JSON

 "kind": "Search",
 "info": {
  "value": "Search",
  "Id": "someValue",
  "data": {
   "kind": "qpxexpress#data",

How do I access info[id] in ruby. I can use JSON to parse the data but I only can access key values via data_hash['kind'] or data_hash['info']

Source: ruby

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.