hix-0.8.0: Haskell/Nix development build tools
Safe HaskellNone
LanguageGHC2021

Hix.Data.Json

Documentation

newtype JsonParsec a Source #

Constructors

JsonParsec a 

Instances

Instances details
Parsec a => FromJSON (JsonParsec a) Source # 
Instance details

Defined in Hix.Data.Json

Generic (JsonParsec a) Source # 
Instance details

Defined in Hix.Data.Json

Associated Types

type Rep (JsonParsec a) 
Instance details

Defined in Hix.Data.Json

type Rep (JsonParsec a) = D1 ('MetaData "JsonParsec" "Hix.Data.Json" "hix-0.8.0-HgAAo9T3AqQBueO4fzYR2Q" 'True) (C1 ('MetaCons "JsonParsec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

Methods

from :: JsonParsec a -> Rep (JsonParsec a) x #

to :: Rep (JsonParsec a) x -> JsonParsec a #

Show a => Show (JsonParsec a) Source # 
Instance details

Defined in Hix.Data.Json

Eq a => Eq (JsonParsec a) Source # 
Instance details

Defined in Hix.Data.Json

Methods

(==) :: JsonParsec a -> JsonParsec a -> Bool #

(/=) :: JsonParsec a -> JsonParsec a -> Bool #

type Rep (JsonParsec a) Source # 
Instance details

Defined in Hix.Data.Json

type Rep (JsonParsec a) = D1 ('MetaData "JsonParsec" "Hix.Data.Json" "hix-0.8.0-HgAAo9T3AqQBueO4fzYR2Q" 'True) (C1 ('MetaCons "JsonParsec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

newtype JsonEither a b Source #

Constructors

JsonEither (Either a b) 

Instances

Instances details
(FromJSON a, FromJSON b) => FromJSON (JsonEither a b) Source # 
Instance details

Defined in Hix.Data.Json

(Show a, Show b) => Show (JsonEither a b) Source # 
Instance details

Defined in Hix.Data.Json

Methods

showsPrec :: Int -> JsonEither a b -> ShowS #

show :: JsonEither a b -> String #

showList :: [JsonEither a b] -> ShowS #

(Eq a, Eq b) => Eq (JsonEither a b) Source # 
Instance details

Defined in Hix.Data.Json

Methods

(==) :: JsonEither a b -> JsonEither a b -> Bool #

(/=) :: JsonEither a b -> JsonEither a b -> Bool #