json overview and demo
DESCRIPTION
Presented by Troy Barrett and Zachary Drossman on July 15, 2014 at The Flatiron School.TRANSCRIPT
![Page 1: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/1.jpg)
Parsing JSONA proof of concept tool for devs
Troy BarrettZachary Drossman
![Page 2: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/2.jpg)
Who is J SON?
Wrong question, son.
![Page 3: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/3.jpg)
JSON: not the bring home for dinner type.
![Page 4: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/4.jpg)
Interpreting JSON { items = ( { accessInfo = { accessViewStatus = NONE; country = US; embeddable = 0; epub = { isAvailable = 0; }; pdf = { isAvailable = 0;}; publicDomain = 0; quoteSharingAllowed = 0; textToSpeechPermission = ALLOWED; viewability = "NO_PAGES"; webReaderLink = "http://…; };
};searchInfo = {
textSnippet = "Harry Potter is an ordinary boy ….”; };
selfLink = "https:…”;volumeInfo = { authors = ("J. K. Rowling”); averageRating = "4.5"; canonicalVolumeLink = "http://…"; categories = ("Juvenile Fiction”); contentVersion = "preview-1.0.0"; description = "Harry …"; imageLinks = { smallThumbnail = "http://… "; thumbnail = "http://…"; }; industryIdentifiers = ({ identifier = 0747532699; type = "ISBN_10”; …
![Page 5: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/5.jpg)
Interpreting JSON { items = ( { accessInfo = { accessViewStatus = NONE; country = US; embeddable = 0; epub = { isAvailable = 0; }; pdf = { isAvailable = 0;}; publicDomain = 0; quoteSharingAllowed = 0; textToSpeechPermission = ALLOWED; viewability = "NO_PAGES"; webReaderLink = "http://…; };
};searchInfo = {
textSnippet = "Harry Potter is an ordinary boy ….”; };
selfLink = "https:…";volumeInfo = { authors = ("J. K. Rowling”); averageRating = "4.5"; canonicalVolumeLink = "http://…"; categories = ("Juvenile Fiction”); contentVersion = "preview-1.0.0"; description = "Harry …"; imageLinks = { smallThumbnail = "http://… "; thumbnail = "http://…"; }; industryIdentifiers = ({ identifier = 0747532699; type = "ISBN_10”; …
![Page 6: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/6.jpg)
So if we wanted to use this data...
• NSString *bookISBN_ID = [@“items”][#][@“volumeInfo”][@“industryIdentifiers”][#][@“identifier”]
![Page 7: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/7.jpg)
What if there was a better way?
![Page 8: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/8.jpg)
Listen to our DEMO.
![Page 9: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/9.jpg)
sO let’s leaRn suMthin
today
![Page 10: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/10.jpg)
To infinity
and beyond!
![Page 11: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/11.jpg)
Working with storyboards
![Page 12: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/12.jpg)
Breaking the code
![Page 13: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/13.jpg)
![Page 14: JSON overview and demo](https://reader034.vdocuments.site/reader034/viewer/2022042613/540d938a8d7f72767e8b4a77/html5/thumbnails/14.jpg)