AI engineering glossary · Web APIs HTTP

What is deserialization?

Deserialization (also called Parsing, Unmarshalling): Rebuilding an in-memory object from stored or received text or bytes. In web code it means parsing a JSON response into dictionaries or objects. Data from untrusted sources should be validated after parsing.

Level: intermediateTopic: Web APIs HTTP

Deserialization: an example

json.loads('{"a": 1}') returns a Python dictionary {'a': 1}.

Related terms

More Web APIs HTTP terms

Where you learn it

Deserialization is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.