How to Parse Json in Ruby

In Ruby you parse json by first including the json library (either the one provided with the language - or any one of the gems that provide the same functionality)

require 'json'
data = JSON.parse('{"name":"Claus Witt","ideas":["idea one", "idea two"]}')
puts data['name']