Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. keyValueEntityFromJSON :: (PersistEntity record, FromJSON record) => Value -> Parser (Entity record)

    esqueleto Database.Esqueleto.Legacy

    Predefined parseJSON. The input JSON looks like {"key": 1, "value": {"name": ...}}. The typical usage is:

    instance FromJSON (Entity User) where
    parseJSON = keyValueEntityFromJSON
    

Page 11 of many | Previous | Next