Automatically de/serialize JSON with Purescript-Foreign-Generics

InstructorJustin Woo

Share this video with your friends

Send Tweet

Deserializing and serializing JSON manually is a boring, error-prone way to be able to handle JSON. This example shows how you can use Generics in Purescript to automatically derive de/serializers so that once you've written your type definition, you only need a few lines of code to handle JSON.

Ehren Murdick
~ 6 years ago

Really wish I had know this video was a year out of date before I bought an egghead subscription. Anyone else who lands here: this tutorial will no longer work