Serializing and Transmitting Data in Javascript Object Notation
Description
JavaScript Object Notation (JSON) is a widely used format for serializing and transmitting structured data. JSON has numerous use-cases, including sending data to and from the web browser, storing configuration data, and as a format for Cloud Infrastructure as Code (IaC) templates.
Learning how to use JSON will make you more effective at working with cloud-based technologies and other systems and tools.
In this hands-on laboratory, you will create a JSON file, parse your file, and serialize a Python data structure to JSON.
Learning Objectives
Upon completion of this beginner level lab, you will be able to:
- Create and parse a JSON file
- Understand the data structures and types JSON provides
- Use the command-line to send JSON data to a web server
- Serialize and format JSON data
Intended Audience
- Cloud Architects
- Data Engineers
- DevOps Engineers
- Machine Learning Engineers
- Software Engineers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Python
- The Bash shell
The following content can be used to fulfill the prerequisites:
Updates
May 26th, 2023 - Pinned flask and werkzeug due to breaking changes