Skip to content

Glossary: TypeScript Basics

JSON.parse

Also written: JSON

A JavaScript function that turns JSON text into a value. TypeScript types its result as `any`, since it can't know what the text holds.

Where the book teaches it

Related terms

anyunknownas (type assertion)