Automatically decode JSON into records in ReasonML using Decco

Murphy Randle
InstructorMurphy Randle

Share this video with your friends

Send Tweet

Although ReasonML has built-in libraries for working with JSON, they are low-level and difficult to use by hand. The Decco library offers automatically generated JSON decoders, and produce a result that keeps the programmer safe at runtime by telling them whether the data they got matched the shape of the data they expected.