Validating and Comparing Objects with Runtime Types (io-ts)
summary
Shows common approaches for parsing, validating, and comparing JSON objects in modern JavaScript, then demonstrates how runtime types built with io-ts can simplify and speed up implementing those parsing/validation and comparison tasks.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:03Types beyond app
- 3:34Unknown data handling
- 6:49Code generation issues
- 9:45Runtime types implementation
- 11:33io-ts features
- 13:22Runtime type creation
- 16:19Decoding and validation
- 17:24Custom types
- 20:13Schemas and interfaces
- 23:03Property-based testing
- 26:39Product comparison
- 27:44io-ts vs Zod
- 29:50Runtime types benefits
- 31:55FP basics
- 33:42Q&A
related talks
21mThe long-tail of type safety
21mThe long-tail of type safety
39mJSONSchema as a runtime type system - Advanced concepts and practical uses
15mTypescript. Runtime. And In Between.
34mNot Your Uncle’s Clean Code (TypeScript Edition)
20mREST API Validation in a Typescript front-end
20mSafely Handling Dynamic Data with TypeScript
01h 09mRefraction of Reality: Dynamic Validation with Static Types
