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. getAeson :: Aeson a -> a

    postgresql-simple Database.PostgreSQL.Simple.Newtypes

    No documentation available.

  2. codecViaAeson :: (FromJSON a, ToJSON a) => Text -> JSONCodec a

    autodocodec Autodocodec

    Produce a codec using a type's FromJSON and ToJSON instances. You will only want to use this if you cannot figure out how to produce a JSONCodec for your type. Note that this will not have good documentation because, at a codec level, it's just parsing and rendering a Value.

    Example usage

    >>> toJSONVia (codecViaAeson "Int") (5 :: Int)
    Number 5.0
    
    >>> JSON.parseMaybe (parseJSONVia (codecViaAeson "Int")) (Number 5) :: Maybe Int
    Just 5
    

  3. codecViaAeson :: (FromJSON a, ToJSON a) => Text -> JSONCodec a

    autodocodec Autodocodec.Codec

    Produce a codec using a type's FromJSON and ToJSON instances. You will only want to use this if you cannot figure out how to produce a JSONCodec for your type. Note that this will not have good documentation because, at a codec level, it's just parsing and rendering a Value.

    Example usage

    >>> toJSONVia (codecViaAeson "Int") (5 :: Int)
    Number 5.0
    
    >>> JSON.parseMaybe (parseJSONVia (codecViaAeson "Int")) (Number 5) :: Maybe Int
    Just 5
    

  4. unsafeCodecViaAesonString :: (FromJSON a, ToJSON a) => Text -> JSONCodec a

    autodocodec Autodocodec.Codec

    No documentation available.

  5. package lens-aeson

    Law-abiding lenses for aeson Law-abiding lenses for aeson.

  6. class (Generic a, All2 AesonDefaultValue Code a) => HasSwaggerAesonOptions a

    openapi3 Data.OpenApi.Internal.AesonUtils

    No documentation available.

  7. data SwaggerAesonOptions

    openapi3 Data.OpenApi.Internal.AesonUtils

    No documentation available.

  8. mkSwaggerAesonOptions :: String -> SwaggerAesonOptions

    openapi3 Data.OpenApi.Internal.AesonUtils

    No documentation available.

  9. swaggerAesonOptions :: HasSwaggerAesonOptions a => Proxy a -> SwaggerAesonOptions

    openapi3 Data.OpenApi.Internal.AesonUtils

    No documentation available.

  10. fromAesonOptions :: Options -> SchemaOptions

    openapi3 Data.OpenApi.Schema

    Convert Options to SchemaOptions. Specifically the following fields get copied:

    Note that these fields have no effect on SchemaOptions: The rest is defined as in defaultSchemaOptions.

Page 10 of many | Previous | Next