2 ms·
Thank you for the compliment on sumi.news. Haskell has a mature library for JSON, Aeson. I often use it to interface with APIs. You write your type, then funct
by tofukid 5y ago
Thank you for the compliment on sumi.news.
Haskell has a mature library for JSON, Aeson. I often use it to interface with APIs. You write your type, then functions to serialize/deserialize. Records using simple types (Text, Int, Maybe, etc.) can automatically derive the serialize/deserialize functions using generics.
Funny you mention PDF, because I’m doing that right now in Haskell for a resume builder project. There’s a few libraries for working with PDFs. HPDF (https://hackage.haskell.org/package/HPDF https://hackage.haskell.org/package/HPDF) supports all the basic functionality you’d expect to create PDFs.