Get a one-stop introduction to JSON, the most common format for data interchange on the web.
Overview
Syllabus
Introduction
- The essentials of using JSON
- What you should know
- Set up your environment
- Work with the GitHub repo
- What is JSON?
- Understand objects in programming
- Structure JSON by following the rules
- Build a basic JSON structure
- Build a nested JSON structure
- Challenge: Debug a JSON structure and create your own
- Solution: Debug a JSON structure and create your own
- Process JSON with language tools and libraries
- Convert JSON to an object or array
- Convert an object or array to JSON
- Challenge: Process JSON data
- Solution: Process JSON data
- How to send and receive JSON data
- Create an HTTP request
- Work with an HTTP response
- Convert between JSON and other data formats
- Make sense of JSON-P
- Challenge: Examine JSON data used by websites
- Solution: Examine JSON data used by websites
- Prevent data reuse
- Return readable JSON
- Test for an empty object
- What is JSON Schema?
- Create a basic schema with JSON Schema
- Validate JSON data against a schema
- Specify required properties with JSON Schema
- Work with schema generators
- Challenge: Work with JSON Schema
- Solution: Work with JSON Schema
- What is JSON-LD?
- Implement predefined key names
- Map a data structure with JSON-LD
- Work with JSON-LD generators
- Add a JSON-LD snippet to a web page
- Challenge: Structure data with JSON-LD
- Solution: Structure data with JSON-LD
- Next steps
Taught by
Sasha Vodnik