Created
January 24, 2018 02:51
-
-
Save chathuranga94/2a1f54bbb5d1364b60d2d8cd2d4960a6 to your computer and use it in GitHub Desktop.
SAMPLE JSON
This file contains hidden or 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
USE https://jsoneditoronline.org/ TO VISUALIZE THESE DATA! | |
USER.JSON | |
WRITE LOGIC TO COMPARE ALL VIDEOS WITHING ALL PLAYLISTS -> KEEP COUNT OF ALL VIDEOS COUNT -> COMPARE WITH WATCHED VIDEOS | |
WRITE LOGIC TO COMPARE QUIZES WITH COMPLETED WATCHED VIDEOS |
This file contains hidden or 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
{ | |
"username": "ab", | |
"userId": 21243, | |
"firstName": "a", | |
"lastName": "b", | |
"address": "c", | |
"contact": "0830243", | |
"profilePic": "a.png", | |
"joinedDate": "2018-01-23", | |
"isAdmin": false, | |
"courses": [ | |
{"name":"react", "course_id": 12, "thumbnail":"a.png", "details":"learn react", "videos": [ | |
{"name":"react1", "video_id":32, "thumbnail": "b.png", "src":"a.com/x"}, | |
{"name":"react1", "video_id":32, "thumbnail": "b.png", "src":"a.com/x"} | |
] | |
}, | |
{"name":"react", "course_id": 12, "thumbnail":"a.png", "details":"learn react", "videos": [ | |
{"name":"react1", "video_id":32, "thumbnail": "b.png", "src":"a.com/x"}, | |
{"name":"react1", "video_id":32, "thumbnail": "b.png", "src":"a.com/x"} | |
] | |
} | |
], | |
"watchedVideos": [ | |
{"videoId": 32, "watchedTime":"2.34", "isComplete": false}, | |
{"videoId": 31, "watchedTime":"3.34", "isComplete": true}, | |
{"videoId": 34, "watchedTime":"4.34", "isComplete": true} | |
], | |
"quizes" : [ | |
{"videoId": 32, "marks":82}, | |
{"videoId":45, "marks":78} | |
] | |
} |
This file contains hidden or 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
{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment