morley-client-0.4.0: Client to interact with the Tezos blockchain
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Client.RPC.Aeson

Description

Helpers for the aeson package.

Currently we need this module due to "GHC stage restriction".

Synopsis

Documentation

morleyClientAesonOptions :: Options Source #

We use these Options to produce JSON encoding in the format that RPC expects. We are not using defaults from morley because we need a specific format.

newtype ClientJSON a Source #

Constructors

ClientJSON 

Fields

Instances

Instances details
(Generic a, GFromJSON Zero (Rep a)) => FromJSON (ClientJSON a) Source # 
Instance details

Defined in Morley.Client.RPC.Aeson

(Generic a, GToJSON Zero (Rep a), GToEncoding Zero (Rep a)) => ToJSON (ClientJSON a) Source # 
Instance details

Defined in Morley.Client.RPC.Aeson