WEBVTT

00:00:00.000 --> 00:00:06.000
What is the JSON data that an API sends?

00:00:06.000 --> 00:00:13.000
JSON is a text format used to represent and exchange structured data.

00:00:13.000 --> 00:00:18.000
Read the values and the structure together.
6 JSON basics.

00:00:18.000 --> 00:00:30.000
It represents data
JSON can describe information that another system needs to read.
Data exchange · Text representation · Structured values

00:00:30.000 --> 00:00:42.000
Objects use named properties
An object groups values under string property names.
Named property · Associated value · Related information

00:00:42.000 --> 00:00:54.000
Arrays hold ordered values
An array represents a sequence of entries.
Ordered sequence · Several entries · Related values

00:00:54.000 --> 00:01:06.000
Values have defined types
Strings, numbers, booleans and null are among the supported values.
Text or number · True or false · Null value

00:01:06.000 --> 00:01:18.000
Syntax rules still apply
JSON uses double-quoted property names and does not allow trailing commas.
Quoted property names · Correct separators · Valid syntax

00:01:18.000 --> 00:01:30.000
Valid syntax is one check
The receiving system also needs the expected fields and suitable values.
Expected structure · Required information · Appropriate values

00:01:30.000 --> 00:01:39.000
Your checklist
It represents data · Objects use named properties · Arrays hold ordered values · Values have defined types · Syntax rules still apply · Valid syntax is one check

00:01:39.000 --> 00:01:47.000
Check valid syntax and whether the data matches the expected structure.
jerseyweb.je
