Last active
April 6, 2016 14:05
-
-
Save emmanuellyautomated/83712590266d37dad41af9680a959522 to your computer and use it in GitHub Desktop.
Two deeply-nested hashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'{ | |
"foo_code": 404, | |
"foo_rbody": { | |
"query": { | |
"info": { | |
"acme_no": "444444", | |
"road_runner": "123" | |
}, | |
"error": "no_lunch", | |
"message": "runner problem." | |
} | |
}, | |
"acme_no": "444444", | |
"road_runner": "123", | |
"xyzzy_code": 200, | |
"xyzzy_rbody": { | |
"api": { | |
"items": [ | |
{ | |
"desc": "OK", | |
"id": 198, | |
"acme_no": "789", | |
"road_runner": "123", | |
"params": { | |
"bicycle": "2wheel", | |
"willie": "hungry", | |
"height": "1", | |
"coyote_id": "1511111" | |
}, | |
"activity": "TRAP", | |
"state": "active", | |
"status": 200, | |
"type": "chase" | |
} | |
] | |
} | |
} | |
}' | |
'{ | |
"foo_code": 200, | |
"foo_rbody": { | |
"query": { | |
"result": { | |
"acme_no": "260060730303258", | |
"road_runner": "123", | |
"abyss": "26843545600" | |
} | |
} | |
}, | |
"acme_no": "260060730303258", | |
"road_runner": "123", | |
"xyzzy_code": 200, | |
"xyzzy_rbody": { | |
"api": { | |
"items": [ | |
{ | |
"desc": "OK", | |
"id": 198, | |
"acme_no": "789", | |
"road_runner": "123", | |
"params": { | |
"bicycle": "2wheel", | |
"willie": "hungry", | |
"height": "1", | |
"coyote_id": "1511111" | |
}, | |
"activity": "TRAP", | |
"state": "active", | |
"status": 200, | |
"type": "chase" | |
} | |
] | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment