hands-on lab

Serializing and Transmitting Data in Javascript Object Notation

Difficulty: Beginner
Duration: Up to 1 hour
Students: 68
Rating: 4/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

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

Covered topics

Lab steps

Serializing and Transmitting Data in Javascript Object Notation