Beginning JSON is the definitive guide to JSON - JavaScript Object Notation - today’s standard in data formatting for the web. The book starts with the basics, and walks you through all aspects of using the JSON format. Beginning JSON covers all areas of JSON from the basics of data formats to creating your own server to store and retrieve persistent data. Beginning JSON provides you with the skill set required for reading and writing properly validated JSON data.
The first two brief chapters of the book contain the foundations of JavaScript as it relates to JSON, and provide the necessary understandings for later chapters. Chapters 3 through 12 reveal what data is, how to convert that data into a transmittable/storable format, how to use AJAX to send and receive JSON, and, lastly, how to reassemble that data back into a proper JavaScript object to be used by your program. The final chapters put everything you learned into practice.
What youll learn
- How to work with JSON
- Data transmission via AJAX
- Incorporate Handlebars templates into your development
- Get up and running with NodeJS
- Perform HTTP requests to a local Web Server
- Implement a NoSQL database for JSON retrieval and storage
- Incorporate JSON feeds from Social APIs
Who this book is for
Beginning JSON is intended for front-end developers of all levels. One does not have had to have worked with JSON before. It’s for those who are seeking to work with data, AJAX, and the preferred data format of the web, JSON.
Table of Contents
Chapter 1: JavaScript Basics
Chapter 2: Special Objects
Chapter 3: String Manipulation
Chapter 4: Introducing JSON
Chapter 5: Creating JSON
Chapter 6: Parsing JSON
Chapter 7: Persisting JSON: I
Chapter 8: Data Interchange
Chapter 9: X-Origin Resources
Chapter 10: Serving JSON
Chapter 11: Posting JSON
Chapter 12: Persisting JSON: II
Chapter 13: Working with Templates
Chapter 14: Putting It All Together