Skip to content

Glossary: Rust Beyond the Basics

JSON (JavaScript Object Notation)

Also written: JSON, json!

A text format for data: `{"sku":"HE-5","qty":3}` is an object with named fields and `[...]` is a list. The `json!` macro builds JSON values in code.

Where the book teaches it

Related terms

serde