~/talk

Using Elm's Json Decoders in Angular

Talkat NG Poland 2020 · 2020-11-18..11-19· [angular, typescript]
slides:none on file

Shows how Elm's Json Decoders plug into an Angular TypeScript stack to validate incoming payloads at runtime, decoding nested objects, optional fields and arrays inside services and NgRx effects. Demo catches concrete failures: number→string type mismatch, missing keys and array-index errors, and distinguishes decoder errors from HTTP 404s. Integration returns either a typed value or a decode error, and the library is reported working in production for over a year.

AI-written summary · about

  1. 0:00Start
  2. 0:36about me
  3. 8:05decoder.ts Create a data decoder
  4. 9:55service.ts Load the data from the service
  5. 11:08Demo using NGRX Print the data in the template
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.