Hoogle Search
Within LTS Haskell 20.23 (ghc-9.2.7)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Fast JSON parsing and encoding A JSON parsing and encoding library optimized for ease of use and high performance. To get started, see the documentation for the Data.Aeson module below. (A note on naming: in Greek mythology, Aeson was the father of Jason.)
-
Types and functions for working efficiently with JSON data. (A note on naming: in Greek mythology, Aeson was the father of Jason.)
-
Just a re-export of Data.Yaml. In the future, this will be the canonical name for that module's contents.
-
postgresql-simple Database.PostgreSQL.Simple.Newtypes A newtype wrapper with ToField and FromField instances based on ToJSON and FromJSON type classes from aeson. Example using DerivingVia:
data Foo = Foo Int String deriving stock (Eq, Show, Generic) -- GHC built int deriving anyclass (FromJSON, ToJSON) -- Derived using GHC Generics deriving (ToField, FromField) via Aeson Foo -- DerivingVia
Example using Aeson newtype directly, for more ad-hoc queriesexecute conn "INSERT INTO tbl (fld) VALUES (?)" (Only (Aeson x))
-
postgresql-simple Database.PostgreSQL.Simple.Newtypes No documentation available.
-
No documentation available.
-
The YAML 1.2 format provides a much richer data-model and feature-set than the JavaScript Object Notation (JSON) format. However, sometimes it's desirable to ignore the extra capabilities and treat YAML as if it was merely a more convenient markup format for humans to write JSON data. To this end this module provides a compatibility layer atop Data.YAML which allows decoding YAML documents in the more limited JSON data-model while also providing convenience by reusing aeson's FromJSON instances for decoding the YAML data into native Haskell data types.
module Data.Binary.Instances.
Aeson No documentation available.
-
Standard test Specs and raw Propertys for FromJSON and ToJSON instances. You will need TypeApplications to use these.
-
Traversals for Data.Aeson, based on microlens for minimal dependencies. For basic manipulation of Aeson values, full Prism functionality isn't necessary. Since all Prisms are inherently Traversals, we provide Traversals that mimic the behaviour of the Prisms found in the original Data.Aeson.Lens.
Page 1 of many | Next