json-api-0.1.4.0: Utilities for generating JSON-API payloads

Safe HaskellNone
LanguageHaskell2010

Network.JSONApi.Source

Description

Module representing a JSON-API Source object.

Specification: https://jsonapi.org/format/#error-objects https://tools.ietf.org/html/rfc6901

Documentation

data Source Source #

Constructors

Source 
Instances
Eq Source Source # 
Instance details

Defined in Network.JSONApi.Source

Methods

(==) :: Source -> Source -> Bool #

(/=) :: Source -> Source -> Bool #

Show Source Source # 
Instance details

Defined in Network.JSONApi.Source

Generic Source Source # 
Instance details

Defined in Network.JSONApi.Source

Associated Types

type Rep Source :: Type -> Type #

Methods

from :: Source -> Rep Source x #

to :: Rep Source x -> Source #

ToJSON Source Source # 
Instance details

Defined in Network.JSONApi.Source

FromJSON Source Source # 
Instance details

Defined in Network.JSONApi.Source

Default Source Source # 
Instance details

Defined in Network.JSONApi.Source

Methods

def :: Source #

type Rep Source Source # 
Instance details

Defined in Network.JSONApi.Source

type Rep Source = D1 (MetaData "Source" "Network.JSONApi.Source" "json-api-0.1.4.0-K142BQY8q8A4eKMcVIpvFl" False) (C1 (MetaCons "Source" PrefixI True) (S1 (MetaSel (Just "pointer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "parameter") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))