Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. module Patrol.Extra.Aeson

    No documentation available.

  2. module Test.Syd.Aeson

    No documentation available.

  3. module TextShow.Data.Aeson

    No documentation available.

  4. module URI.ByteString.Aeson

    No documentation available.

  5. module Generics.Generic.Aeson

    This module offers generic conversions to and from JSON Values for data types with a Generic instance. The structure of the generated JSON is meant to be close to idiomatic JSON. This means:

    • Enumerations are converted to JSON strings.
    • Record fields become JSON keys.
    • Data types with one unlabeled field convert to just that field.
    • Data types with multiple unlabeled fields become arrays.
    • Multiple constructors are represented by keys.
    • Maybe values are either an absent key, or the value.
    See 'tests/Main.hs' for more examples.

  6. module Pipes.Aeson

    This module allows you to encode and decode JSON values flowing downstream through Pipes streams. This module builds on top of the aeson, pipes and pipes-parse libraries, and assumes you know how to use them. Please read the examples in Pipes.Parse.Tutorial to understand how to use these functions. In this module, the following type synonym compatible with the lens, lens-family and lens-family-core libraries is used but not exported:

    type Lens' s a = forall f . Functor f => (a -> f a) -> (s -> f s)
    

  7. aesonQQ :: QuasiQuoter

    aeson Data.Aeson.QQ.Simple

    Converts a string representation of a JSON value into Value at compile-time.

    {-# LANGUAGE QuasiQuotes #-}
    
    import Data.Aeson (Value)
    import Data.Aeson.QQ.Simple
    
    joe :: Value
    joe = [aesonQQ|{ "name": "Joe", "age": 12 }|]
    

  8. package aeson-pretty

    JSON pretty-printing library and command-line tool. A JSON pretty-printing library compatible with aeson as well as a command-line tool to improve readabilty of streams of JSON data. The library provides the function "encodePretty". It is a drop-in replacement for aeson's "encode" function, producing JSON-ByteStrings for human readers. The command-line tool reads JSON from stdin and writes prettified JSON to stdout. It also offers a complementary "compact"-mode, essentially the opposite of pretty-printing. If you specify -flib-only like this

    cabal install -flib-only aeson-pretty
    
    the command-line tool will NOT be installed.

  9. package aeson-qq

    JSON quasiquoter for Haskell aeson-qq provides a JSON quasiquoter for Haskell. This package exposes the function aesonQQ that compile-time converts a string representation of a JSON value into a Data.Aeson.Value. aesonQQ has the signature

    aesonQQ :: QuasiQuoter
    
    Consult the README for documentation: https://github.com/sol/aeson-qq#readme

  10. aesonQQ :: QuasiQuoter

    aeson-qq Data.Aeson.QQ

    No documentation available.

Page 3 of many | Previous | Next