Get Json value where key1=value1 and key2=value2 : I'm trying to parse a more complex Json with ruby:

    "data": [{
		"resourceId": 381,
		"resourceName": "Admin.Config",
		"resourceDesc": "Correspondence Admin -> Configuration",
		"permissions": [{
			"id": 1081,
			"operation": "Update",
			"assignedToRoleFlag": false
		}, {
			"id": 1071,
			"operation": "Read",
			"assignedToRoleFlag": false
		}],
		"productName": "Doc"
	}, {
		"resourceId": 391,
		"resourceName": "Admin.Usage",
		"resourceDesc": "Correspondence Admin -> Usage",
		"permissions": [{
			"id": 1091,
			"operation": "Read",
			"assignedToRoleFlag": false
		}],
		"productName": "Doc"
	}, ......................................     }

The issue is that I want to parse this to get ['data']['permissions']['id'] where ['data']['resourceName'] = Admin.Config and ['data']['permissions']['operation'] = Read for example.