Created
June 3, 2017 12:39
-
-
Save ddialar/d24fa174464d013615f9a60e21750d41 to your computer and use it in GitHub Desktop.
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
{ | |
"films": [ | |
{ | |
"id": 1, | |
"title": "Star Trek: The motion picture", | |
"year": "1979", | |
"director_id": 1 | |
}, | |
{ | |
"id": 2, | |
"title": "Star Trek II: The wrath of Khan", | |
"year": "1982", | |
"director_id": 2 | |
}, | |
{ | |
"id": 3, | |
"title": "Star Trek III: The search of Spock", | |
"year": "1984", | |
"director_id": 3 | |
}, | |
{ | |
"id": 4, | |
"title": "Star Trek IV: The voyage home", | |
"year": "1986", | |
"director_id": 3 | |
} | |
], | |
"directors": [ | |
{ | |
"id": 1, | |
"name": "Robert Wise", | |
"films": [1] | |
}, | |
{ | |
"id": 2, | |
"name": "Nicholas Meyer", | |
"films": [2] | |
}, | |
{ | |
"id": 3, | |
"name": "Leonard Nimoy", | |
"films": [3, 4] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment