cardano-api-1.36.0: The cardano api
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Api.SerialiseJSON

Description

JSON serialisation

Documentation

class ToJSON a where #

Minimal complete definition

Nothing

Methods

toJSON ∷ a → Value #

toEncoding ∷ a → Encoding #

toJSONList ∷ [a] → Value #

toEncodingList ∷ [a] → Encoding #

Instances

Instances details
ToJSON Key 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Key → Value #

toEncoding ∷ Key → Encoding #

toJSONList ∷ [Key] → Value #

toEncodingList ∷ [Key] → Encoding #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DotNetTime → Value #

toEncoding ∷ DotNetTime → Encoding #

toJSONList ∷ [DotNetTime] → Value #

toEncodingList ∷ [DotNetTime] → Encoding #

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Value → Value #

toEncoding ∷ Value → Encoding #

toJSONList ∷ [Value] → Value #

toEncodingList ∷ [Value] → Encoding #

ToJSON Number 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Number → Value #

toEncoding ∷ Number → Encoding #

toJSONList ∷ [Number] → Value #

toEncodingList ∷ [Number] → Encoding #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVersion → Value #

toEncodingVersion → Encoding #

toJSONList ∷ [Version] → Value #

toEncodingList ∷ [Version] → Encoding #

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVoid → Value #

toEncodingVoid → Encoding #

toJSONList ∷ [Void] → Value #

toEncodingList ∷ [Void] → Encoding #

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCTime → Value #

toEncodingCTime → Encoding #

toJSONList ∷ [CTime] → Value #

toEncodingList ∷ [CTime] → Encoding #

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt16 → Value #

toEncodingInt16 → Encoding #

toJSONList ∷ [Int16] → Value #

toEncodingList ∷ [Int16] → Encoding #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt32 → Value #

toEncodingInt32 → Encoding #

toJSONList ∷ [Int32] → Value #

toEncodingList ∷ [Int32] → Encoding #

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt64 → Value #

toEncodingInt64 → Encoding #

toJSONList ∷ [Int64] → Value #

toEncodingList ∷ [Int64] → Encoding #

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt8 → Value #

toEncodingInt8 → Encoding #

toJSONList ∷ [Int8] → Value #

toEncodingList ∷ [Int8] → Encoding #

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord16 → Value #

toEncodingWord16 → Encoding #

toJSONList ∷ [Word16] → Value #

toEncodingList ∷ [Word16] → Encoding #

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord32 → Value #

toEncodingWord32 → Encoding #

toJSONList ∷ [Word32] → Value #

toEncodingList ∷ [Word32] → Encoding #

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord64 → Value #

toEncodingWord64 → Encoding #

toJSONList ∷ [Word64] → Value #

toEncodingList ∷ [Word64] → Encoding #

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord8 → Value #

toEncodingWord8 → Encoding #

toJSONList ∷ [Word8] → Value #

toEncodingList ∷ [Word8] → Encoding #

ToJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSON ∷ ByteString64 → Value #

toEncoding ∷ ByteString64 → Encoding #

toJSONList ∷ [ByteString64] → Value #

toEncodingList ∷ [ByteString64] → Encoding #

ToJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONStakeAddress → Value #

toEncodingStakeAddress → Encoding #

toJSONList ∷ [StakeAddress] → Value #

toEncodingList ∷ [StakeAddress] → Encoding #

ToJSON StakeCredential Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONStakeCredential → Value #

toEncodingStakeCredential → Encoding #

toJSONList ∷ [StakeCredential] → Value #

toEncodingList ∷ [StakeCredential] → Encoding #

ToJSON ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSONChainPoint → Value #

toEncodingChainPoint → Encoding #

toJSONList ∷ [ChainPoint] → Value #

toEncodingList ∷ [ChainPoint] → Encoding #

ToJSON ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

ToJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

toJSONAnyCardanoEra → Value #

toEncodingAnyCardanoEra → Encoding #

toJSONList ∷ [AnyCardanoEra] → Value #

toEncodingList ∷ [AnyCardanoEra] → Encoding #

ToJSON CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONCostModel → Value #

toEncodingCostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

ToJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONExecutionUnitPrices → Value #

toEncodingExecutionUnitPrices → Encoding #

toJSONList ∷ [ExecutionUnitPrices] → Value #

toEncodingList ∷ [ExecutionUnitPrices] → Encoding #

ToJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONPraosNonce → Value #

toEncodingPraosNonce → Encoding #

toJSONList ∷ [PraosNonce] → Value #

toEncodingList ∷ [PraosNonce] → Encoding #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONProtocolParameters → Value #

toEncodingProtocolParameters → Encoding #

toJSONList ∷ [ProtocolParameters] → Value #

toEncodingList ∷ [ProtocolParameters] → Encoding #

ToJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONExecutionUnits → Value #

toEncodingExecutionUnits → Encoding #

toJSONList ∷ [ExecutionUnits] → Value #

toEncodingList ∷ [ExecutionUnits] → Encoding #

ToJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptHash → Value #

toEncodingScriptHash → Encoding #

toJSONList ∷ [ScriptHash] → Value #

toEncodingList ∷ [ScriptHash] → Encoding #

ToJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptInAnyLang → Value #

toEncodingScriptInAnyLang → Encoding #

toJSONList ∷ [ScriptInAnyLang] → Value #

toEncodingList ∷ [ScriptInAnyLang] → Encoding #

ToJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONSimpleScript → Value #

toEncodingSimpleScript → Encoding #

toJSONList ∷ [SimpleScript] → Value #

toEncodingList ∷ [SimpleScript] → Encoding #

ToJSON TextEnvelopeCddl Source # 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

Methods

toJSONTextEnvelopeCddl → Value #

toEncodingTextEnvelopeCddl → Encoding #

toJSONList ∷ [TextEnvelopeCddl] → Value #

toEncodingList ∷ [TextEnvelopeCddl] → Encoding #

ToJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelope → Value #

toEncodingTextEnvelope → Encoding #

toJSONList ∷ [TextEnvelope] → Value #

toEncodingList ∷ [TextEnvelope] → Encoding #

ToJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeDescr → Value #

toEncodingTextEnvelopeDescr → Encoding #

toJSONList ∷ [TextEnvelopeDescr] → Value #

toEncodingList ∷ [TextEnvelopeDescr] → Encoding #

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeType → Value #

toEncodingTextEnvelopeType → Encoding #

toJSONList ∷ [TextEnvelopeType] → Value #

toEncodingList ∷ [TextEnvelopeType] → Encoding #

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONTxId → Value #

toEncodingTxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

ToJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONTxIn → Value #

toEncodingTxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONTxIx → Value #

toEncodingTxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONAssetName → Value #

toEncodingAssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONLovelace → Value #

toEncodingLovelace → Encoding #

toJSONList ∷ [Lovelace] → Value #

toEncodingList ∷ [Lovelace] → Encoding #

ToJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONPolicyId → Value #

toEncodingPolicyId → Encoding #

toJSONList ∷ [PolicyId] → Value #

toEncodingList ∷ [PolicyId] → Encoding #

ToJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONQuantity → Value #

toEncodingQuantity → Encoding #

toJSONList ∷ [Quantity] → Value #

toEncodingList ∷ [Quantity] → Encoding #

ToJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONValue → Value0 #

toEncodingValue → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

ToJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONValueNestedRep → Value #

toEncodingValueNestedRep → Encoding #

toJSONList ∷ [ValueNestedRep] → Value #

toEncodingList ∷ [ValueNestedRep] → Encoding #

ToJSON ByteSpan 
Instance details

Defined in Cardano.Binary.Annotated

Methods

toJSON ∷ ByteSpan → Value #

toEncoding ∷ ByteSpan → Encoding #

toJSONList ∷ [ByteSpan] → Value #

toEncodingList ∷ [ByteSpan] → Encoding #

ToJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagic → Value #

toEncoding ∷ ProtocolMagic → Encoding #

toJSONList ∷ [ProtocolMagic] → Value #

toEncodingList ∷ [ProtocolMagic] → Encoding #

ToJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagicId → Value #

toEncoding ∷ ProtocolMagicId → Encoding #

toJSONList ∷ [ProtocolMagicId] → Value #

toEncodingList ∷ [ProtocolMagicId] → Encoding #

ToJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON ∷ RequiresNetworkMagic → Value #

toEncoding ∷ RequiresNetworkMagic → Encoding #

toJSONList ∷ [RequiresNetworkMagic] → Value #

toEncodingList ∷ [RequiresNetworkMagic] → Encoding #

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

toJSON ∷ CompactRedeemVerificationKey → Value #

toEncoding ∷ CompactRedeemVerificationKey → Encoding #

toJSONList ∷ [CompactRedeemVerificationKey] → Value #

toEncodingList ∷ [CompactRedeemVerificationKey] → Encoding #

ToJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toJSON ∷ RedeemVerificationKey → Value #

toEncoding ∷ RedeemVerificationKey → Encoding #

toJSONList ∷ [RedeemVerificationKey] → Value #

toEncodingList ∷ [RedeemVerificationKey] → Encoding #

ToJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

toJSON ∷ VerificationKey → Value #

toEncoding ∷ VerificationKey → Encoding #

toJSONList ∷ [VerificationKey] → Value #

toEncodingList ∷ [VerificationKey] → Encoding #

ToJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

toJSON ∷ AlonzoGenesis → Value #

toEncoding ∷ AlonzoGenesis → Encoding #

toJSONList ∷ [AlonzoGenesis] → Value #

toEncodingList ∷ [AlonzoGenesis] → Encoding #

ToJSON Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Methods

toJSON ∷ Proof → Value #

toEncoding ∷ Proof → Encoding #

toJSONList ∷ [Proof] → Value #

toEncodingList ∷ [Proof] → Encoding #

ToJSON AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON ∷ AddrAttributes → Value #

toEncoding ∷ AddrAttributes → Encoding #

toJSONList ∷ [AddrAttributes] → Value #

toEncodingList ∷ [AddrAttributes] → Encoding #

ToJSON HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON ∷ HDAddressPayload → Value #

toEncoding ∷ HDAddressPayload → Encoding #

toJSONList ∷ [HDAddressPayload] → Value #

toEncodingList ∷ [HDAddressPayload] → Encoding #

ToJSON AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toJSON ∷ AddrType → Value #

toEncoding ∷ AddrType → Encoding #

toJSONList ∷ [AddrType] → Value #

toEncodingList ∷ [AddrType] → Encoding #

ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON ∷ Address → Value #

toEncoding ∷ Address → Encoding #

toJSONList ∷ [Address] → Value #

toEncodingList ∷ [Address] → Encoding #

ToJSON UnparsedFields 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

toJSON ∷ UnparsedFields → Value #

toEncoding ∷ UnparsedFields → Encoding #

toJSONList ∷ [UnparsedFields] → Value #

toEncodingList ∷ [UnparsedFields] → Encoding #

ToJSON ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

Methods

toJSON ∷ ChainDifficulty → Value #

toEncoding ∷ ChainDifficulty → Encoding #

toJSONList ∷ [ChainDifficulty] → Value #

toEncodingList ∷ [ChainDifficulty] → Encoding #

ToJSON Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toJSON ∷ Lovelace → Value #

toEncoding ∷ Lovelace → Encoding #

toJSONList ∷ [Lovelace] → Value #

toEncodingList ∷ [Lovelace] → Encoding #

ToJSON LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

toJSON ∷ LovelacePortion → Value #

toEncoding ∷ LovelacePortion → Encoding #

toJSONList ∷ [LovelacePortion] → Value #

toEncodingList ∷ [LovelacePortion] → Encoding #

ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toJSON ∷ NetworkMagic → Value #

toEncoding ∷ NetworkMagic → Encoding #

toJSONList ∷ [NetworkMagic] → Value #

toEncodingList ∷ [NetworkMagic] → Encoding #

ToJSON TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toJSON ∷ TxFeePolicy → Value #

toEncoding ∷ TxFeePolicy → Encoding #

toJSONList ∷ [TxFeePolicy] → Value #

toEncodingList ∷ [TxFeePolicy] → Encoding #

ToJSON TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

toJSON ∷ TxSizeLinear → Value #

toEncoding ∷ TxSizeLinear → Encoding #

toJSONList ∷ [TxSizeLinear] → Value #

toEncodingList ∷ [TxSizeLinear] → Encoding #

ToJSON GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

toJSON ∷ GenesisHash → Value #

toEncoding ∷ GenesisHash → Encoding #

toJSONList ∷ [GenesisHash] → Value #

toEncodingList ∷ [GenesisHash] → Encoding #

ToJSON EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toJSON ∷ EpochNumber → Value #

toEncoding ∷ EpochNumber → Encoding #

toJSONList ∷ [EpochNumber] → Value #

toEncodingList ∷ [EpochNumber] → Encoding #

ToJSON SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toJSON ∷ SlotNumber → Value #

toEncoding ∷ SlotNumber → Encoding #

toJSONList ∷ [SlotNumber] → Value #

toEncodingList ∷ [SlotNumber] → Encoding #

ToJSON SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON ∷ SscPayload → Value #

toEncoding ∷ SscPayload → Encoding #

toJSONList ∷ [SscPayload] → Value #

toEncodingList ∷ [SscPayload] → Encoding #

ToJSON SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON ∷ SscProof → Value #

toEncoding ∷ SscProof → Encoding #

toJSONList ∷ [SscProof] → Value #

toEncodingList ∷ [SscProof] → Encoding #

ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON ∷ Tx → Value #

toEncoding ∷ Tx → Encoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON ∷ TxIn → Value #

toEncoding ∷ TxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON ∷ TxOut → Value #

toEncoding ∷ TxOut → Encoding #

toJSONList ∷ [TxOut] → Value #

toEncodingList ∷ [TxOut] → Encoding #

ToJSON TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Methods

toJSON ∷ TxProof → Value #

toEncoding ∷ TxProof → Encoding #

toJSONList ∷ [TxProof] → Value #

toEncodingList ∷ [TxProof] → Encoding #

ToJSON TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxInWitness → Value #

toEncoding ∷ TxInWitness → Encoding #

toJSONList ∷ [TxInWitness] → Value #

toEncodingList ∷ [TxInWitness] → Encoding #

ToJSON TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxSigData → Value #

toEncoding ∷ TxSigData → Encoding #

toJSONList ∷ [TxSigData] → Value #

toEncodingList ∷ [TxSigData] → Encoding #

ToJSON ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

toJSON ∷ ApplicationName → Value #

toEncoding ∷ ApplicationName → Encoding #

toJSONList ∷ [ApplicationName] → Value #

toEncodingList ∷ [ApplicationName] → Encoding #

ToJSON InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

toJSON ∷ InstallerHash → Value #

toEncoding ∷ InstallerHash → Encoding #

toJSONList ∷ [InstallerHash] → Value #

toEncodingList ∷ [InstallerHash] → Encoding #

ToJSON ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON ∷ ProposalBody → Value #

toEncoding ∷ ProposalBody → Encoding #

toJSONList ∷ [ProposalBody] → Value #

toEncodingList ∷ [ProposalBody] → Encoding #

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

Methods

toJSON ∷ ProtocolParametersUpdate → Value #

toEncoding ∷ ProtocolParametersUpdate → Encoding #

toJSONList ∷ [ProtocolParametersUpdate] → Value #

toEncodingList ∷ [ProtocolParametersUpdate] → Encoding #

ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

toJSON ∷ ProtocolVersion → Value #

toEncoding ∷ ProtocolVersion → Encoding #

toJSONList ∷ [ProtocolVersion] → Value #

toEncodingList ∷ [ProtocolVersion] → Encoding #

ToJSON SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toJSON ∷ SoftforkRule → Value #

toEncoding ∷ SoftforkRule → Encoding #

toJSONList ∷ [SoftforkRule] → Value #

toEncodingList ∷ [SoftforkRule] → Encoding #

ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toJSON ∷ SoftwareVersion → Value #

toEncoding ∷ SoftwareVersion → Encoding #

toJSONList ∷ [SoftwareVersion] → Value #

toEncodingList ∷ [SoftwareVersion] → Encoding #

ToJSON SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSON ∷ SystemTag → Value #

toEncoding ∷ SystemTag → Encoding #

toJSONList ∷ [SystemTag] → Value #

toEncodingList ∷ [SystemTag] → Encoding #

ToJSON CertIx Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ CertIx → Value #

toEncoding ∷ CertIx → Encoding #

toJSONList ∷ [CertIx] → Value #

toEncodingList ∷ [CertIx] → Encoding #

ToJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ DnsName → Value #

toEncoding ∷ DnsName → Encoding #

toJSONList ∷ [DnsName] → Value #

toEncodingList ∷ [DnsName] → Encoding #

ToJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ Network → Value #

toEncoding ∷ Network → Encoding #

toJSONList ∷ [Network] → Value #

toEncodingList ∷ [Network] → Encoding #

ToJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ NonNegativeInterval → Value #

toEncoding ∷ NonNegativeInterval → Encoding #

toJSONList ∷ [NonNegativeInterval] → Value #

toEncodingList ∷ [NonNegativeInterval] → Encoding #

ToJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ Nonce → Value #

toEncoding ∷ Nonce → Encoding #

toJSONList ∷ [Nonce] → Value #

toEncodingList ∷ [Nonce] → Encoding #

ToJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ Port → Value #

toEncoding ∷ Port → Encoding #

toJSONList ∷ [Port] → Value #

toEncodingList ∷ [Port] → Encoding #

ToJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ PositiveInterval → Value #

toEncoding ∷ PositiveInterval → Encoding #

toJSONList ∷ [PositiveInterval] → Value #

toEncodingList ∷ [PositiveInterval] → Encoding #

ToJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ PositiveUnitInterval → Value #

toEncoding ∷ PositiveUnitInterval → Encoding #

toJSONList ∷ [PositiveUnitInterval] → Value #

toEncodingList ∷ [PositiveUnitInterval] → Encoding #

ToJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ ProtVer → Value #

toEncoding ∷ ProtVer → Encoding #

toJSONList ∷ [ProtVer] → Value #

toEncodingList ∷ [ProtVer] → Encoding #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ TxIx → Value #

toEncoding ∷ TxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

ToJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ UnitInterval → Value #

toEncoding ∷ UnitInterval → Encoding #

toJSONList ∷ [UnitInterval] → Value #

toEncodingList ∷ [UnitInterval] → Encoding #

ToJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ Url → Value #

toEncoding ∷ Url → Encoding #

toJSONList ∷ [Url] → Value #

toEncodingList ∷ [Url] → Encoding #

ToJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON ∷ Coin → Value #

toEncoding ∷ Coin → Encoding #

toJSONList ∷ [Coin] → Value #

toEncodingList ∷ [Coin] → Encoding #

ToJSON DeltaCoin Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ DeltaCoin → Value #

toEncoding ∷ DeltaCoin → Encoding #

toJSONList ∷ [DeltaCoin] → Value #

toEncodingList ∷ [DeltaCoin] → Encoding #

ToJSON Ptr Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Ptr → Value #

toEncoding ∷ Ptr → Encoding #

toJSONList ∷ [Ptr] → Value #

toEncodingList ∷ [Ptr] → Encoding #

ToJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON ∷ RewardInfoPool → Value #

toEncoding ∷ RewardInfoPool → Encoding #

toJSONList ∷ [RewardInfoPool] → Value #

toEncodingList ∷ [RewardInfoPool] → Encoding #

ToJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON ∷ RewardParams → Value #

toEncoding ∷ RewardParams → Encoding #

toJSONList ∷ [RewardParams] → Value #

toEncodingList ∷ [RewardParams] → Encoding #

ToJSON AccountState Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ AccountState → Value #

toEncoding ∷ AccountState → Encoding #

toJSONList ∷ [AccountState] → Value #

toEncodingList ∷ [AccountState] → Encoding #

ToJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toJSON ∷ PoolMetadata → Value #

toEncoding ∷ PoolMetadata → Encoding #

toJSONList ∷ [PoolMetadata] → Value #

toEncodingList ∷ [PoolMetadata] → Encoding #

ToJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toJSON ∷ StakePoolRelay → Value #

toEncoding ∷ StakePoolRelay → Encoding #

toJSONList ∷ [StakePoolRelay] → Value #

toEncodingList ∷ [StakePoolRelay] → Encoding #

ToJSON Likelihood Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Likelihood → Value #

toEncoding ∷ Likelihood → Encoding #

toJSONList ∷ [Likelihood] → Value #

toEncodingList ∷ [Likelihood] → Encoding #

ToJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON ∷ Desirability → Value #

toEncoding ∷ Desirability → Encoding #

toJSONList ∷ [Desirability] → Value #

toEncodingList ∷ [Desirability] → Encoding #

ToJSON RewardType Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ RewardType → Value #

toEncoding ∷ RewardType → Encoding #

toJSONList ∷ [RewardType] → Value #

toEncodingList ∷ [RewardType] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ AssetName → Value #

toEncoding ∷ AssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochSize → Value #

toEncodingEpochSize → Encoding #

toJSONList ∷ [EpochSize] → Value #

toEncodingList ∷ [EpochSize] → Encoding #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

ToJSON SystemStart Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONSystemStart → Value #

toEncodingSystemStart → Encoding #

toJSONList ∷ [SystemStart] → Value #

toEncodingList ∷ [SystemStart] → Encoding #

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntSet → Value #

toEncodingIntSet → Encoding #

toJSONList ∷ [IntSet] → Value #

toEncodingList ∷ [IntSet] → Encoding #

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOrdering → Value #

toEncodingOrdering → Encoding #

toJSONList ∷ [Ordering] → Value #

toEncodingList ∷ [Ordering] → Encoding #

ToJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.Types

Methods

toJSON ∷ PeerAdvertise → Value #

toEncoding ∷ PeerAdvertise → Encoding #

toJSONList ∷ [PeerAdvertise] → Value #

toEncodingList ∷ [PeerAdvertise] → Encoding #

ToJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

toJSON ∷ SatInt → Value #

toEncoding ∷ SatInt → Encoding #

toJSONList ∷ [SatInt] → Value #

toEncodingList ∷ [SatInt] → Encoding #

ToJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

toJSON ∷ ExBudget → Value #

toEncoding ∷ ExBudget → Encoding #

toJSONList ∷ [ExBudget] → Value #

toEncodingList ∷ [ExBudget] → Encoding #

ToJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

toJSON ∷ ExCPU → Value #

toEncoding ∷ ExCPU → Encoding #

toJSONList ∷ [ExCPU] → Value #

toEncodingList ∷ [ExCPU] → Encoding #

ToJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

toJSON ∷ ExMemory → Value #

toEncoding ∷ ExMemory → Encoding #

toJSONList ∷ [ExMemory] → Value #

toEncodingList ∷ [ExMemory] → Encoding #

ToJSON CekMachineCosts 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

toJSON ∷ CekMachineCosts → Value #

toEncoding ∷ CekMachineCosts → Encoding #

toJSONList ∷ [CekMachineCosts] → Value #

toEncodingList ∷ [CekMachineCosts] → Encoding #

ToJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ CovLoc → Value #

toEncoding ∷ CovLoc → Encoding #

toJSONList ∷ [CovLoc] → Value #

toEncodingList ∷ [CovLoc] → Encoding #

ToJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ CoverageAnnotation → Value #

toEncoding ∷ CoverageAnnotation → Encoding #

toJSONList ∷ [CoverageAnnotation] → Value #

toEncodingList ∷ [CoverageAnnotation] → Encoding #

ToJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ CoverageData → Value #

toEncoding ∷ CoverageData → Encoding #

toJSONList ∷ [CoverageData] → Value #

toEncodingList ∷ [CoverageData] → Encoding #

ToJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ CoverageIndex → Value #

toEncoding ∷ CoverageIndex → Encoding #

toJSONList ∷ [CoverageIndex] → Value #

toEncodingList ∷ [CoverageIndex] → Encoding #

ToJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ CoverageMetadata → Value #

toEncoding ∷ CoverageMetadata → Encoding #

toJSONList ∷ [CoverageMetadata] → Value #

toEncodingList ∷ [CoverageMetadata] → Encoding #

ToJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ CoverageReport → Value #

toEncoding ∷ CoverageReport → Encoding #

toJSONList ∷ [CoverageReport] → Value #

toEncodingList ∷ [CoverageReport] → Encoding #

ToJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON ∷ Metadata → Value #

toEncoding ∷ Metadata → Encoding #

toJSONList ∷ [Metadata] → Value #

toEncodingList ∷ [Metadata] → Encoding #

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Scientific → Value #

toEncoding ∷ Scientific → Encoding #

toJSONList ∷ [Scientific] → Value #

toEncodingList ∷ [Scientific] → Encoding #

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

toJSON ∷ StudentT → Value #

toEncoding ∷ StudentT → Encoding #

toJSONList ∷ [StudentT] → Value #

toEncodingList ∷ [StudentT] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON ShortText 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ ShortText → Value #

toEncoding ∷ ShortText → Encoding #

toJSONList ∷ [ShortText] → Value #

toEncodingList ∷ [ShortText] → Encoding #

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffDays → Value #

toEncodingCalendarDiffDays → Encoding #

toJSONList ∷ [CalendarDiffDays] → Value #

toEncodingList ∷ [CalendarDiffDays] → Encoding #

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDay → Value #

toEncodingDay → Encoding #

toJSONList ∷ [Day] → Value #

toEncodingList ∷ [Day] → Encoding #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMonth → Value #

toEncodingMonth → Encoding #

toJSONList ∷ [Month] → Value #

toEncodingList ∷ [Month] → Encoding #

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONQuarter → Value #

toEncodingQuarter → Encoding #

toJSONList ∷ [Quarter] → Value #

toEncodingList ∷ [Quarter] → Encoding #

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONQuarterOfYear → Value #

toEncodingQuarterOfYear → Encoding #

toJSONList ∷ [QuarterOfYear] → Value #

toEncodingList ∷ [QuarterOfYear] → Encoding #

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDayOfWeek → Value #

toEncodingDayOfWeek → Encoding #

toJSONList ∷ [DayOfWeek] → Value #

toEncodingList ∷ [DayOfWeek] → Encoding #

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDiffTime → Value #

toEncodingDiffTime → Encoding #

toJSONList ∷ [DiffTime] → Value #

toEncodingList ∷ [DiffTime] → Encoding #

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNominalDiffTime → Value #

toEncodingNominalDiffTime → Encoding #

toJSONList ∷ [NominalDiffTime] → Value #

toEncodingList ∷ [NominalDiffTime] → Encoding #

ToJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSystemTime → Value #

toEncodingSystemTime → Encoding #

toJSONList ∷ [SystemTime] → Value #

toEncodingList ∷ [SystemTime] → Encoding #

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONUTCTime → Value #

toEncodingUTCTime → Encoding #

toJSONList ∷ [UTCTime] → Value #

toEncodingList ∷ [UTCTime] → Encoding #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffTime → Value #

toEncodingCalendarDiffTime → Encoding #

toJSONList ∷ [CalendarDiffTime] → Value #

toEncodingList ∷ [CalendarDiffTime] → Encoding #

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLocalTime → Value #

toEncodingLocalTime → Encoding #

toJSONList ∷ [LocalTime] → Value #

toEncodingList ∷ [LocalTime] → Encoding #

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTimeOfDay → Value #

toEncodingTimeOfDay → Encoding #

toJSONList ∷ [TimeOfDay] → Value #

toEncodingList ∷ [TimeOfDay] → Encoding #

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONZonedTime → Value #

toEncodingZonedTime → Encoding #

toJSONList ∷ [ZonedTime] → Value #

toEncodingList ∷ [ZonedTime] → Encoding #

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ UUID → Value #

toEncoding ∷ UUID → Encoding #

toJSONList ∷ [UUID] → Value #

toEncodingList ∷ [UUID] → Encoding #

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInteger → Value #

toEncodingInteger → Encoding #

toJSONList ∷ [Integer] → Value #

toEncodingList ∷ [Integer] → Encoding #

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNatural → Value #

toEncodingNatural → Encoding #

toJSONList ∷ [Natural] → Value #

toEncodingList ∷ [Natural] → Encoding #

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ () → Value #

toEncoding ∷ () → Encoding #

toJSONList ∷ [()] → Value #

toEncodingList ∷ [()] → Encoding #

ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONBool → Value #

toEncodingBool → Encoding #

toJSONList ∷ [Bool] → Value #

toEncodingList ∷ [Bool] → Encoding #

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONChar → Value #

toEncodingChar → Encoding #

toJSONList ∷ [Char] → Value #

toEncodingList ∷ [Char] → Encoding #

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDouble → Value #

toEncodingDouble → Encoding #

toJSONList ∷ [Double] → Value #

toEncodingList ∷ [Double] → Encoding #

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFloat → Value #

toEncodingFloat → Encoding #

toJSONList ∷ [Float] → Value #

toEncodingList ∷ [Float] → Encoding #

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt → Value #

toEncodingInt → Encoding #

toJSONList ∷ [Int] → Value #

toEncodingList ∷ [Int] → Encoding #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord → Value #

toEncodingWord → Encoding #

toJSONList ∷ [Word] → Value #

toEncodingList ∷ [Word] → Encoding #

ToJSON v ⇒ ToJSON (KeyMap v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ KeyMap v → Value #

toEncoding ∷ KeyMap v → Encoding #

toJSONList ∷ [KeyMap v] → Value #

toEncodingList ∷ [KeyMap v] → Encoding #

ToJSON a ⇒ ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIdentity a → Value #

toEncodingIdentity a → Encoding #

toJSONList ∷ [Identity a] → Value #

toEncodingList ∷ [Identity a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMax a → Value #

toEncodingMax a → Encoding #

toJSONList ∷ [Max a] → Value #

toEncodingList ∷ [Max a] → Encoding #

ToJSON a ⇒ ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMin a → Value #

toEncodingMin a → Encoding #

toJSONList ∷ [Min a] → Value #

toEncodingList ∷ [Min a] → Encoding #

ToJSON a ⇒ ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWrappedMonoid a → Value #

toEncodingWrappedMonoid a → Encoding #

toJSONList ∷ [WrappedMonoid a] → Value #

toEncodingList ∷ [WrappedMonoid a] → Encoding #

ToJSON a ⇒ ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDual a → Value #

toEncodingDual a → Encoding #

toJSONList ∷ [Dual a] → Value #

toEncodingList ∷ [Dual a] → Encoding #

(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONRatio a → Value #

toEncodingRatio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

ToJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONAddress ByronAddr → Value #

toEncodingAddress ByronAddr → Encoding #

toJSONList ∷ [Address ByronAddr] → Value #

toEncodingList ∷ [Address ByronAddr] → Encoding #

ToJSON (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONAddress ShelleyAddr → Value #

toEncodingAddress ShelleyAddr → Encoding #

toJSONList ∷ [Address ShelleyAddr] → Value #

toEncodingList ∷ [Address ShelleyAddr] → Encoding #

IsCardanoEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

ToJSON (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

toJSONCardanoEra era → Value #

toEncodingCardanoEra era → Encoding #

toJSONList ∷ [CardanoEra era] → Value #

toEncodingList ∷ [CardanoEra era] → Encoding #

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSONHash BlockHeader → Value #

toEncodingHash BlockHeader → Encoding #

toJSONList ∷ [Hash BlockHeader] → Value #

toEncodingList ∷ [Hash BlockHeader] → Encoding #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONHash ScriptData → Value #

toEncodingHash ScriptData → Encoding #

toJSONList ∷ [Hash ScriptData] → Value #

toEncodingList ∷ [Hash ScriptData] → Encoding #

ToJSON (LocalTxMonitoringResult mode) Source # 
Instance details

Defined in Cardano.Api.IPC

Methods

toJSONLocalTxMonitoringResult mode → Value #

toEncodingLocalTxMonitoringResult mode → Encoding #

toJSONList ∷ [LocalTxMonitoringResult mode] → Value #

toEncodingList ∷ [LocalTxMonitoringResult mode] → Encoding #

(IsShelleyBasedEra era, ShelleyLedgerEra era ~ ledgerera, ShelleyBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsUpdate ledgerera), ToJSON (TxOut ledgerera), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era)))) ⇒ ToJSON (DebugLedgerState era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

toJSONDebugLedgerState era → Value #

toEncodingDebugLedgerState era → Encoding #

toJSONList ∷ [DebugLedgerState era] → Value #

toEncodingList ∷ [DebugLedgerState era] → Encoding #

IsCardanoEra era ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

IsCardanoEra era ⇒ ToJSON (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONReferenceScript era → Value #

toEncodingReferenceScript era → Encoding #

toJSONList ∷ [ReferenceScript era] → Value #

toEncodingList ∷ [ReferenceScript era] → Encoding #

SerialiseAsBech32 a ⇒ ToJSON (UsingBech32 a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

toJSONUsingBech32 a → Value #

toEncodingUsingBech32 a → Encoding #

toJSONList ∷ [UsingBech32 a] → Value #

toEncodingList ∷ [UsingBech32 a] → Encoding #

SerialiseAsRawBytes a ⇒ ToJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

toJSONUsingRawBytesHex a → Value #

toEncodingUsingRawBytesHex a → Encoding #

toJSONList ∷ [UsingRawBytesHex a] → Value #

toEncodingList ∷ [UsingRawBytesHex a] → Encoding #

ToJSON (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONMultiAssetSupportedInEra era → Value #

toEncodingMultiAssetSupportedInEra era → Encoding #

toJSONList ∷ [MultiAssetSupportedInEra era] → Value #

toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding #

ToJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxOutValue era → Value #

toEncodingTxOutValue era → Encoding #

toJSONList ∷ [TxOutValue era] → Value #

toEncodingList ∷ [TxOutValue era] → Encoding #

ToJSON a ⇒ ToJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

toJSON ∷ RedeemSignature a → Value #

toEncoding ∷ RedeemSignature a → Encoding #

toJSONList ∷ [RedeemSignature a] → Value #

toEncodingList ∷ [RedeemSignature a] → Encoding #

ToJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

toJSON ∷ Signature w → Value #

toEncoding ∷ Signature w → Encoding #

toJSONList ∷ [Signature w] → Value #

toEncodingList ∷ [Signature w] → Encoding #

(Era era, Crypto era ~ StandardCrypto) ⇒ ToJSON (Datum era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Datum era → Value #

toEncoding ∷ Datum era → Encoding #

toJSONList ∷ [Datum era] → Value #

toEncodingList ∷ [Datum era] → Encoding #

ToJSON (AlonzoScript (BabbageEra StandardCrypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ AlonzoScript (BabbageEra StandardCrypto) → Value #

toEncoding ∷ AlonzoScript (BabbageEra StandardCrypto) → Encoding #

toJSONList ∷ [AlonzoScript (BabbageEra StandardCrypto)] → Value #

toEncodingList ∷ [AlonzoScript (BabbageEra StandardCrypto)] → Encoding #

ToJSON (AlonzoScript (ConwayEra StandardCrypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ AlonzoScript (ConwayEra StandardCrypto) → Value #

toEncoding ∷ AlonzoScript (ConwayEra StandardCrypto) → Encoding #

toJSONList ∷ [AlonzoScript (ConwayEra StandardCrypto)] → Value #

toEncodingList ∷ [AlonzoScript (ConwayEra StandardCrypto)] → Encoding #

ToJSON (BabbagePParams (era StandardCrypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ BabbagePParams (era StandardCrypto) → Value #

toEncoding ∷ BabbagePParams (era StandardCrypto) → Encoding #

toJSONList ∷ [BabbagePParams (era StandardCrypto)] → Value #

toEncodingList ∷ [BabbagePParams (era StandardCrypto)] → Encoding #

ToJSON (BabbagePParamsUpdate era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ BabbagePParamsUpdate era → Value #

toEncoding ∷ BabbagePParamsUpdate era → Encoding #

toJSONList ∷ [BabbagePParamsUpdate era] → Value #

toEncodingList ∷ [BabbagePParamsUpdate era] → Encoding #

(Era era, ToJSON (Value era), ToJSON (Datum era), ToJSON (Script era), Crypto era ~ StandardCrypto, Val (Value era)) ⇒ ToJSON (BabbageTxOut era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ BabbageTxOut era → Value #

toEncoding ∷ BabbageTxOut era → Encoding #

toJSONList ∷ [BabbageTxOut era] → Value #

toEncodingList ∷ [BabbageTxOut era] → Encoding #

ToJSON a ⇒ ToJSON (ABlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABlock a → Value #

toEncoding ∷ ABlock a → Encoding #

toJSONList ∷ [ABlock a] → Value #

toEncodingList ∷ [ABlock a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABlockOrBoundary a → Value #

toEncoding ∷ ABlockOrBoundary a → Encoding #

toJSONList ∷ [ABlockOrBoundary a] → Value #

toEncodingList ∷ [ABlockOrBoundary a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBlock a → Value #

toEncoding ∷ ABoundaryBlock a → Encoding #

toJSONList ∷ [ABoundaryBlock a] → Value #

toEncodingList ∷ [ABoundaryBlock a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBody a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBody a → Value #

toEncoding ∷ ABoundaryBody a → Encoding #

toJSONList ∷ [ABoundaryBody a] → Value #

toEncodingList ∷ [ABoundaryBody a] → Encoding #

ToJSON a ⇒ ToJSON (ABody a) 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

toJSON ∷ ABody a → Value #

toEncoding ∷ ABody a → Encoding #

toJSONList ∷ [ABody a] → Value #

toEncodingList ∷ [ABody a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockSignature a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON ∷ ABlockSignature a → Value #

toEncoding ∷ ABlockSignature a → Encoding #

toJSONList ∷ [ABlockSignature a] → Value #

toEncodingList ∷ [ABlockSignature a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON ∷ ABoundaryHeader a → Value #

toEncoding ∷ ABoundaryHeader a → Encoding #

toJSONList ∷ [ABoundaryHeader a] → Value #

toEncodingList ∷ [ABoundaryHeader a] → Encoding #

ToJSON a ⇒ ToJSON (AHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON ∷ AHeader a → Value #

toEncoding ∷ AHeader a → Encoding #

toJSONList ∷ [AHeader a] → Value #

toEncodingList ∷ [AHeader a] → Encoding #

ToJSON a ⇒ ToJSON (Attributes a) 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

toJSON ∷ Attributes a → Value #

toEncoding ∷ Attributes a → Encoding #

toJSONList ∷ [Attributes a] → Value #

toEncodingList ∷ [Attributes a] → Encoding #

ToJSON a ⇒ ToJSON (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

toJSON ∷ MerkleRoot a → Value #

toEncoding ∷ MerkleRoot a → Encoding #

toJSONList ∷ [MerkleRoot a] → Value #

toEncodingList ∷ [MerkleRoot a] → Encoding #

ToJSON a ⇒ ToJSON (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toJSON ∷ ACertificate a → Value #

toEncoding ∷ ACertificate a → Encoding #

toJSONList ∷ [ACertificate a] → Value #

toEncodingList ∷ [ACertificate a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.Delegation.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSON ∷ ATxAux a → Value #

toEncoding ∷ ATxAux a → Encoding #

toJSONList ∷ [ATxAux a] → Value #

toEncodingList ∷ [ATxAux a] → Encoding #

ToJSON a ⇒ ToJSON (ATxPayload a) 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Methods

toJSON ∷ ATxPayload a → Value #

toEncoding ∷ ATxPayload a → Encoding #

toJSONList ∷ [ATxPayload a] → Value #

toEncodingList ∷ [ATxPayload a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.Update.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (AProposal a) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON ∷ AProposal a → Value #

toEncoding ∷ AProposal a → Encoding #

toJSONList ∷ [AProposal a] → Value #

toEncodingList ∷ [AProposal a] → Encoding #

ToJSON a ⇒ ToJSON (AVote a) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toJSON ∷ AVote a → Value #

toEncoding ∷ AVote a → Encoding #

toJSONList ∷ [AVote a] → Value #

toEncodingList ∷ [AVote a] → Encoding #

ToJSON (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON ∷ Addr crypto → Value #

toEncoding ∷ Addr crypto → Encoding #

toJSONList ∷ [Addr crypto] → Value #

toEncodingList ∷ [Addr crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON ∷ RewardAcnt crypto → Value #

toEncoding ∷ RewardAcnt crypto → Encoding #

toJSONList ∷ [RewardAcnt crypto] → Value #

toEncodingList ∷ [RewardAcnt crypto] → Encoding #

Crypto crypto ⇒ ToJSON (BlocksMade crypto) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ BlocksMade crypto → Value #

toEncoding ∷ BlocksMade crypto → Encoding #

toJSONList ∷ [BlocksMade crypto] → Value #

toEncodingList ∷ [BlocksMade crypto] → Encoding #

Crypto crypto ⇒ ToJSON (ScriptHash crypto) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON ∷ ScriptHash crypto → Value #

toEncoding ∷ ScriptHash crypto → Encoding #

toJSONList ∷ [ScriptHash crypto] → Value #

toEncodingList ∷ [ScriptHash crypto] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegPair crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSON ∷ GenDelegPair crypto → Value #

toEncoding ∷ GenDelegPair crypto → Encoding #

toJSONList ∷ [GenDelegPair crypto] → Value #

toEncodingList ∷ [GenDelegPair crypto] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegs crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ GenDelegs crypto → Value #

toEncoding ∷ GenDelegs crypto → Encoding #

toJSONList ∷ [GenDelegs crypto] → Value #

toEncodingList ∷ [GenDelegs crypto] → Encoding #

Crypto crypto ⇒ ToJSON (IndividualPoolStake crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ IndividualPoolStake crypto → Value #

toEncoding ∷ IndividualPoolStake crypto → Encoding #

toJSONList ∷ [IndividualPoolStake crypto] → Value #

toEncodingList ∷ [IndividualPoolStake crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolDistr crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PoolDistr crypto → Value #

toEncoding ∷ PoolDistr crypto → Encoding #

toJSONList ∷ [PoolDistr crypto] → Value #

toEncodingList ∷ [PoolDistr crypto] → Encoding #

Crypto crypto ⇒ ToJSON (TxIn crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ TxIn crypto → Value #

toEncoding ∷ TxIn crypto → Encoding #

toJSONList ∷ [TxIn crypto] → Value #

toEncodingList ∷ [TxIn crypto] → Encoding #

Crypto crypto ⇒ ToJSON (UnifiedMap crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ UnifiedMap crypto → Value #

toEncoding ∷ UnifiedMap crypto → Encoding #

toJSONList ∷ [UnifiedMap crypto] → Value #

toEncodingList ∷ [UnifiedMap crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShot crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ SnapShot crypto → Value #

toEncoding ∷ SnapShot crypto → Encoding #

toJSONList ∷ [SnapShot crypto] → Value #

toEncodingList ∷ [SnapShot crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShots crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ SnapShots crypto → Value #

toEncoding ∷ SnapShots crypto → Encoding #

toJSONList ∷ [SnapShots crypto] → Value #

toEncodingList ∷ [SnapShots crypto] → Encoding #

Crypto crypto ⇒ ToJSON (Stake crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Stake crypto → Value #

toEncoding ∷ Stake crypto → Encoding #

toJSONList ∷ [Stake crypto] → Value #

toEncodingList ∷ [Stake crypto] → Encoding #

Era era ⇒ ToJSON (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSONShelleyGenesis era → Value #

toEncodingShelleyGenesis era → Encoding #

toJSONList ∷ [ShelleyGenesis era] → Value #

toEncodingList ∷ [ShelleyGenesis era] → Encoding #

Crypto crypto ⇒ ToJSON (ShelleyGenesisStaking crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON ∷ ShelleyGenesisStaking crypto → Value #

toEncoding ∷ ShelleyGenesisStaking crypto → Encoding #

toJSONList ∷ [ShelleyGenesisStaking crypto] → Value #

toEncodingList ∷ [ShelleyGenesisStaking crypto] → Encoding #

Crypto crypto ⇒ ToJSON (DPState crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ DPState crypto → Value #

toEncoding ∷ DPState crypto → Encoding #

toJSONList ∷ [DPState crypto] → Value #

toEncodingList ∷ [DPState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (DState crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ DState crypto → Value #

toEncoding ∷ DState crypto → Encoding #

toJSONList ∷ [DState crypto] → Value #

toEncodingList ∷ [DState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (FutureGenDeleg crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ FutureGenDeleg crypto → Value #

toEncoding ∷ FutureGenDeleg crypto → Encoding #

toJSONList ∷ [FutureGenDeleg crypto] → Value #

toEncodingList ∷ [FutureGenDeleg crypto] → Encoding #

Crypto crypto ⇒ ToJSON (InstantaneousRewards crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ InstantaneousRewards crypto → Value #

toEncoding ∷ InstantaneousRewards crypto → Encoding #

toJSONList ∷ [InstantaneousRewards crypto] → Value #

toEncodingList ∷ [InstantaneousRewards crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PState crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PState crypto → Value #

toEncoding ∷ PState crypto → Encoding #

toJSONList ∷ [PState crypto] → Value #

toEncodingList ∷ [PState crypto] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParams era), ToJSON (PParamsUpdate era)) ⇒ ToJSON (EpochState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ EpochState era → Value #

toEncoding ∷ EpochState era → Encoding #

toJSONList ∷ [EpochState era] → Value #

toEncodingList ∷ [EpochState era] → Encoding #

Crypto crypto ⇒ ToJSON (IncrementalStake crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ IncrementalStake crypto → Value #

toEncoding ∷ IncrementalStake crypto → Encoding #

toJSONList ∷ [IncrementalStake crypto] → Value #

toEncodingList ∷ [IncrementalStake crypto] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParamsUpdate era)) ⇒ ToJSON (LedgerState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ LedgerState era → Value #

toEncoding ∷ LedgerState era → Encoding #

toJSONList ∷ [LedgerState era] → Value #

toEncodingList ∷ [LedgerState era] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParamsUpdate era)) ⇒ ToJSON (UTxOState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ UTxOState era → Value #

toEncoding ∷ UTxOState era → Encoding #

toJSONList ∷ [UTxOState era] → Value #

toEncodingList ∷ [UTxOState era] → Encoding #

(ToJSON (PParamsUpdate era), Era era) ⇒ ToJSON (PPUPState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PPUPState era → Value #

toEncoding ∷ PPUPState era → Encoding #

toJSONList ∷ [PPUPState era] → Value #

toEncodingList ∷ [PPUPState era] → Encoding #

(ToJSON (PParamsUpdate era), Era era) ⇒ ToJSON (ProposedPPUpdates era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ ProposedPPUpdates era → Value #

toEncoding ∷ ProposedPPUpdates era → Encoding #

toJSONList ∷ [ProposedPPUpdates era] → Value #

toEncodingList ∷ [ProposedPPUpdates era] → Encoding #

ToJSON (ShelleyPParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON ∷ ShelleyPParams era → Value #

toEncoding ∷ ShelleyPParams era → Encoding #

toJSONList ∷ [ShelleyPParams era] → Value #

toEncodingList ∷ [ShelleyPParams era] → Encoding #

ToJSON (ShelleyPParamsUpdate era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ ShelleyPParamsUpdate era → Value #

toEncoding ∷ ShelleyPParamsUpdate era → Encoding #

toJSONList ∷ [ShelleyPParamsUpdate era] → Value #

toEncodingList ∷ [ShelleyPParamsUpdate era] → Encoding #

Crypto crypto ⇒ ToJSON (PoolParams crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toJSON ∷ PoolParams crypto → Value #

toEncoding ∷ PoolParams crypto → Encoding #

toJSONList ∷ [PoolParams crypto] → Value #

toEncodingList ∷ [PoolParams crypto] → Encoding #

Crypto crypto ⇒ ToJSON (NonMyopic crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ NonMyopic crypto → Value #

toEncoding ∷ NonMyopic crypto → Encoding #

toJSONList ∷ [NonMyopic crypto] → Value #

toEncodingList ∷ [NonMyopic crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenance crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON ∷ RewardProvenance crypto → Value #

toEncoding ∷ RewardProvenance crypto → Encoding #

toJSONList ∷ [RewardProvenance crypto] → Value #

toEncodingList ∷ [RewardProvenance crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenancePool crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON ∷ RewardProvenancePool crypto → Value #

toEncoding ∷ RewardProvenancePool crypto → Encoding #

toJSONList ∷ [RewardProvenancePool crypto] → Value #

toEncodingList ∷ [RewardProvenancePool crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PulsingRewUpdate crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PulsingRewUpdate crypto → Value #

toEncoding ∷ PulsingRewUpdate crypto → Encoding #

toJSONList ∷ [PulsingRewUpdate crypto] → Value #

toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardUpdate crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ RewardUpdate crypto → Value #

toEncoding ∷ RewardUpdate crypto → Encoding #

toJSONList ∷ [RewardUpdate crypto] → Value #

toEncodingList ∷ [RewardUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (Reward crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Reward crypto → Value #

toEncoding ∷ Reward crypto → Encoding #

toJSONList ∷ [Reward crypto] → Value #

toEncodingList ∷ [Reward crypto] → Encoding #

(ShelleyBasedEra era, ToJSON (Value era)) ⇒ ToJSON (ShelleyTxOut era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ ShelleyTxOut era → Value #

toEncoding ∷ ShelleyTxOut era → Encoding #

toJSONList ∷ [ShelleyTxOut era] → Value #

toEncodingList ∷ [ShelleyTxOut era] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ UTxO era → Value #

toEncoding ∷ UTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

ToJSON (MaryValue era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ MaryValue era → Value #

toEncoding ∷ MaryValue era → Encoding #

toJSONList ∷ [MaryValue era] → Value #

toEncodingList ∷ [MaryValue era] → Encoding #

ToJSON (PolicyID era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PolicyID era → Value #

toEncoding ∷ PolicyID era → Encoding #

toJSONList ∷ [PolicyID era] → Value #

toEncodingList ∷ [PolicyID era] → Encoding #

ToJSON a ⇒ ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSON ∷ StrictMaybe a → Value #

toEncoding ∷ StrictMaybe a → Encoding #

toJSONList ∷ [StrictMaybe a] → Value #

toEncodingList ∷ [StrictMaybe a] → Encoding #

ToJSON a ⇒ ToJSON (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

Methods

toJSON ∷ StrictSeq a → Value #

toEncoding ∷ StrictSeq a → Encoding #

toJSONList ∷ [StrictSeq a] → Value #

toEncodingList ∷ [StrictSeq a] → Encoding #

ToJSON a ⇒ ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntMap a → Value #

toEncodingIntMap a → Encoding #

toJSONList ∷ [IntMap a] → Value #

toEncodingList ∷ [IntMap a] → Encoding #

ToJSON a ⇒ ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSeq a → Value #

toEncodingSeq a → Encoding #

toJSONList ∷ [Seq a] → Value #

toEncodingList ∷ [Seq a] → Encoding #

ToJSON a ⇒ ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSet a → Value #

toEncodingSet a → Encoding #

toJSONList ∷ [Set a] → Value #

toEncodingList ∷ [Set a] → Encoding #

ToJSON v ⇒ ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTree v → Value #

toEncodingTree v → Encoding #

toJSONList ∷ [Tree v] → Value #

toEncodingList ∷ [Tree v] → Encoding #

ToJSON1 f ⇒ ToJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Fix f → Value #

toEncoding ∷ Fix f → Encoding #

toJSONList ∷ [Fix f] → Value #

toEncodingList ∷ [Fix f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Mu f → Value #

toEncoding ∷ Mu f → Encoding #

toJSONList ∷ [Mu f] → Value #

toEncodingList ∷ [Mu f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Nu f → Value #

toEncoding ∷ Nu f → Encoding #

toJSONList ∷ [Nu f] → Value #

toEncodingList ∷ [Nu f] → Encoding #

ToJSON a ⇒ ToJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DNonEmpty a → Value #

toEncoding ∷ DNonEmpty a → Encoding #

toJSONList ∷ [DNonEmpty a] → Value #

toEncodingList ∷ [DNonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DList a → Value #

toEncoding ∷ DList a → Encoding #

toJSONList ∷ [DList a] → Value #

toEncodingList ∷ [DList a] → Encoding #

(Generic a, GToJSON' Value Zero (Rep a), GToJSON' Encoding Zero (Rep a)) ⇒ ToJSON (Generically a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Generically a → Value #

toEncoding ∷ Generically a → Encoding #

toJSONList ∷ [Generically a] → Value #

toEncodingList ∷ [Generically a] → Encoding #

ToJSON (StakeSnapshot crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ StakeSnapshot crypto → Value #

toEncoding ∷ StakeSnapshot crypto → Encoding #

toJSONList ∷ [StakeSnapshot crypto] → Value #

toEncodingList ∷ [StakeSnapshot crypto] → Encoding #

Crypto crypto ⇒ ToJSON (StakeSnapshots crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ StakeSnapshots crypto → Value #

toEncoding ∷ StakeSnapshots crypto → Encoding #

toJSONList ∷ [StakeSnapshots crypto] → Value #

toEncodingList ∷ [StakeSnapshots crypto] → Encoding #

ToJSON (BuiltinCostModelBase MCostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ BuiltinCostModelBase MCostingFun → Value #

toEncoding ∷ BuiltinCostModelBase MCostingFun → Encoding #

toJSONList ∷ [BuiltinCostModelBase MCostingFun] → Value #

toEncodingList ∷ [BuiltinCostModelBase MCostingFun] → Encoding #

ToJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ BuiltinCostModelBase CostingFun → Value #

toEncoding ∷ BuiltinCostModelBase CostingFun → Encoding #

toJSONList ∷ [BuiltinCostModelBase CostingFun] → Value #

toEncodingList ∷ [BuiltinCostModelBase CostingFun] → Encoding #

ToJSON a ⇒ ToJSON (MCostingFun a) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ MCostingFun a → Value #

toEncoding ∷ MCostingFun a → Encoding #

toJSONList ∷ [MCostingFun a] → Value #

toEncodingList ∷ [MCostingFun a] → Encoding #

ToJSON a ⇒ ToJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Array a → Value #

toEncoding ∷ Array a → Encoding #

toJSONList ∷ [Array a] → Value #

toEncodingList ∷ [Array a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ PrimArray a → Value #

toEncoding ∷ PrimArray a → Encoding #

toJSONList ∷ [PrimArray a] → Value #

toEncodingList ∷ [PrimArray a] → Encoding #

ToJSON a ⇒ ToJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ SmallArray a → Value #

toEncoding ∷ SmallArray a → Encoding #

toJSONList ∷ [SmallArray a] → Value #

toEncodingList ∷ [SmallArray a] → Encoding #

ToJSON d ⇒ ToJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

toJSON ∷ LinearTransform d → Value #

toEncoding ∷ LinearTransform d → Encoding #

toJSONList ∷ [LinearTransform d] → Value #

toEncodingList ∷ [LinearTransform d] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Maybe a → Value #

toEncoding ∷ Maybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

ToJSON a ⇒ ToJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashSet a → Value #

toEncoding ∷ HashSet a → Encoding #

toJSONList ∷ [HashSet a] → Value #

toEncodingList ∷ [HashSet a] → Encoding #

ToJSON a ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(Storable a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON a ⇒ ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNonEmpty a → Value #

toEncodingNonEmpty a → Encoding #

toJSONList ∷ [NonEmpty a] → Value #

toEncodingList ∷ [NonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMaybe a → Value #

toEncodingMaybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

ToJSON a ⇒ ToJSON (a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a) → Value #

toEncoding ∷ (a) → Encoding #

toJSONList ∷ [(a)] → Value #

toEncodingList ∷ [(a)] → Encoding #

ToJSON a ⇒ ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ [a] → Value #

toEncoding ∷ [a] → Encoding #

toJSONList ∷ [[a]] → Value #

toEncodingList ∷ [[a]] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONEither a b → Value #

toEncodingEither a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

HasResolution a ⇒ ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFixed a → Value #

toEncodingFixed a → Encoding #

toJSONList ∷ [Fixed a] → Value #

toEncodingList ∷ [Fixed a] → Encoding #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProxy a → Value #

toEncodingProxy a → Encoding #

toJSONList ∷ [Proxy a] → Value #

toEncodingList ∷ [Proxy a] → Encoding #

ToJSON (EraInMode era mode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

toJSONEraInMode era mode → Value #

toEncodingEraInMode era mode → Encoding #

toJSONList ∷ [EraInMode era mode] → Value #

toEncodingList ∷ [EraInMode era mode] → Encoding #

ToJSON (ScriptLanguageInEra lang era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptLanguageInEra lang era → Value #

toEncodingScriptLanguageInEra lang era → Encoding #

toJSONList ∷ [ScriptLanguageInEra lang era] → Value #

toEncodingList ∷ [ScriptLanguageInEra lang era] → Encoding #

IsCardanoEra era ⇒ ToJSON (TxOut ctx era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxOut ctx era → Value #

toEncodingTxOut ctx era → Encoding #

toJSONList ∷ [TxOut ctx era] → Value #

toEncodingList ∷ [TxOut ctx era] → Encoding #

ToJSON b ⇒ ToJSON (Annotated b a) 
Instance details

Defined in Cardano.Binary.Annotated

Methods

toJSON ∷ Annotated b a → Value #

toEncoding ∷ Annotated b a → Encoding #

toJSONList ∷ [Annotated b a] → Value #

toEncodingList ∷ [Annotated b a] → Encoding #

HashAlgorithm h ⇒ ToJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSON ∷ Hash h a → Value #

toEncoding ∷ Hash h a → Encoding #

toJSONList ∷ [Hash h a] → Value #

toEncodingList ∷ [Hash h a] → Encoding #

ToJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSON ∷ AbstractHash algo a → Value #

toEncoding ∷ AbstractHash algo a → Encoding #

toJSONList ∷ [AbstractHash algo a] → Value #

toEncodingList ∷ [AbstractHash algo a] → Encoding #

Crypto crypto ⇒ ToJSON (Bimap Ptr (Credential 'Staking crypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Bimap Ptr (Credential 'Staking crypto) → Value #

toEncoding ∷ Bimap Ptr (Credential 'Staking crypto) → Encoding #

toJSONList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Value #

toEncodingList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

toJSON ∷ ListMap k v → Value #

toEncoding ∷ ListMap k v → Encoding #

toJSONList ∷ [ListMap k v] → Value #

toEncodingList ∷ [ListMap k v] → Encoding #

ToJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ BoundedRatio b Word64 → Value #

toEncoding ∷ BoundedRatio b Word64 → Encoding #

toJSONList ∷ [BoundedRatio b Word64] → Value #

toEncodingList ∷ [BoundedRatio b Word64] → Encoding #

Crypto crypto ⇒ ToJSON (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON ∷ Credential kr crypto → Value #

toEncoding ∷ Credential kr crypto → Encoding #

toJSONList ∷ [Credential kr crypto] → Value #

toEncodingList ∷ [Credential kr crypto] → Encoding #

Crypto crypto ⇒ ToJSON (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSON ∷ KeyHash disc crypto → Value #

toEncoding ∷ KeyHash disc crypto → Encoding #

toJSONList ∷ [KeyHash disc crypto] → Value #

toEncodingList ∷ [KeyHash disc crypto] → Encoding #

Crypto c ⇒ ToJSON (SafeHash c a) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ SafeHash c a → Value #

toEncoding ∷ SafeHash c a → Encoding #

toJSONList ∷ [SafeHash c a] → Value #

toEncodingList ∷ [SafeHash c a] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMap k v → Value #

toEncodingMap k v → Encoding #

toJSONList ∷ [Map k v] → Value #

toEncodingList ∷ [Map k v] → Encoding #

(ToJSON a, ToJSONKey k) ⇒ ToJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

toJSON ∷ MonoidalMap k a → Value #

toEncoding ∷ MonoidalMap k a → Encoding #

toJSONList ∷ [MonoidalMap k a] → Value #

toEncodingList ∷ [MonoidalMap k a] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Either a b → Value #

toEncoding ∷ Either a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Pair a b → Value #

toEncoding ∷ Pair a b → Encoding #

toJSONList ∷ [Pair a b] → Value #

toEncodingList ∷ [Pair a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashMap k v → Value #

toEncoding ∷ HashMap k v → Encoding #

toJSONList ∷ [HashMap k v] → Value #

toEncodingList ∷ [HashMap k v] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b) → Value #

toEncoding ∷ (a, b) → Encoding #

toJSONList ∷ [(a, b)] → Value #

toEncodingList ∷ [(a, b)] → Encoding #

ToJSON a ⇒ ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONConst a b → Value #

toEncodingConst a b → Encoding #

toJSONList ∷ [Const a b] → Value #

toEncodingList ∷ [Const a b] → Encoding #

(ToJSON coin, ToJSON ptr, ToJSON pool) ⇒ ToJSON (Trip coin ptr pool) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Trip coin ptr pool → Value #

toEncoding ∷ Trip coin ptr pool → Encoding #

toJSONList ∷ [Trip coin ptr pool] → Value #

toEncodingList ∷ [Trip coin ptr pool] → Encoding #

ToJSON b ⇒ ToJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Tagged a b → Value #

toEncoding ∷ Tagged a b → Encoding #

toJSONList ∷ [Tagged a b] → Value #

toEncodingList ∷ [Tagged a b] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These1 f g a → Value #

toEncoding ∷ These1 f g a → Encoding #

toJSONList ∷ [These1 f g a] → Value #

toEncodingList ∷ [These1 f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c) → Value #

toEncoding ∷ (a, b, c) → Encoding #

toJSONList ∷ [(a, b, c)] → Value #

toEncodingList ∷ [(a, b, c)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProduct f g a → Value #

toEncodingProduct f g a → Encoding #

toJSONList ∷ [Product f g a] → Value #

toEncodingList ∷ [Product f g a] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSum f g a → Value #

toEncodingSum f g a → Encoding #

toJSONList ∷ [Sum f g a] → Value #

toEncodingList ∷ [Sum f g a] → Encoding #

Crypto crypto ⇒ ToJSON (VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto) → Value #

toEncoding ∷ VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto) → Encoding #

toJSONList ∷ [VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto)] → Value #

toEncodingList ∷ [VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto)] → Encoding #

Crypto crypto ⇒ ToJSON (VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto) → Value #

toEncoding ∷ VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto) → Encoding #

toJSONList ∷ [VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto)] → Value #

toEncodingList ∷ [VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto)] → Encoding #

Crypto crypto ⇒ ToJSON (VMap VB VP (Credential 'Staking crypto) (CompactForm Coin)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ VMap VB VP (Credential 'Staking crypto) (CompactForm Coin) → Value #

toEncoding ∷ VMap VB VP (Credential 'Staking crypto) (CompactForm Coin) → Encoding #

toJSONList ∷ [VMap VB VP (Credential 'Staking crypto) (CompactForm Coin)] → Value #

toEncodingList ∷ [VMap VB VP (Credential 'Staking crypto) (CompactForm Coin)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d) → Value #

toEncoding ∷ (a, b, c, d) → Encoding #

toJSONList ∷ [(a, b, c, d)] → Value #

toEncodingList ∷ [(a, b, c, d)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCompose f g a → Value #

toEncodingCompose f g a → Encoding #

toJSONList ∷ [Compose f g a] → Value #

toEncodingList ∷ [Compose f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) ⇒ ToJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e) → Value #

toEncoding ∷ (a, b, c, d, e) → Encoding #

toJSONList ∷ [(a, b, c, d, e)] → Value #

toEncodingList ∷ [(a, b, c, d, e)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) ⇒ ToJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f) → Value #

toEncoding ∷ (a, b, c, d, e, f) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) ⇒ ToJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g) → Value #

toEncoding ∷ (a, b, c, d, e, f, g) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) ⇒ ToJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) ⇒ ToJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Encoding #

class ToJSONKey a #

Instances

Instances details
ToJSONKey Key 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Key

toJSONKeyList ∷ ToJSONKeyFunction [Key]

ToJSONKey Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Version

toJSONKeyList ∷ ToJSONKeyFunction [Version]

ToJSONKey Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Void

toJSONKeyList ∷ ToJSONKeyFunction [Void]

ToJSONKey Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int16

toJSONKeyList ∷ ToJSONKeyFunction [Int16]

ToJSONKey Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int32

toJSONKeyList ∷ ToJSONKeyFunction [Int32]

ToJSONKey Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int64

toJSONKeyList ∷ ToJSONKeyFunction [Int64]

ToJSONKey Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int8

toJSONKeyList ∷ ToJSONKeyFunction [Int8]

ToJSONKey Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word16

toJSONKeyList ∷ ToJSONKeyFunction [Word16]

ToJSONKey Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word32

toJSONKeyList ∷ ToJSONKeyFunction [Word32]

ToJSONKey Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word64

toJSONKeyList ∷ ToJSONKeyFunction [Word64]

ToJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word8

toJSONKeyList ∷ ToJSONKeyFunction [Word8]

ToJSONKey ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSONKey ∷ ToJSONKeyFunction ByteString64

toJSONKeyList ∷ ToJSONKeyFunction [ByteString64]

ToJSONKey AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONKey ∷ ToJSONKeyFunction AnyPlutusScriptVersion

toJSONKeyList ∷ ToJSONKeyFunction [AnyPlutusScriptVersion]

ToJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey ∷ ToJSONKeyFunction TxId

toJSONKeyList ∷ ToJSONKeyFunction [TxId]

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey ∷ ToJSONKeyFunction TxIn

toJSONKeyList ∷ ToJSONKeyFunction [TxIn]

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

ToJSONKey CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

toJSONKey ∷ ToJSONKeyFunction CompactRedeemVerificationKey

toJSONKeyList ∷ ToJSONKeyFunction [CompactRedeemVerificationKey]

ToJSONKey RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toJSONKey ∷ ToJSONKeyFunction RedeemVerificationKey

toJSONKeyList ∷ ToJSONKeyFunction [RedeemVerificationKey]

ToJSONKey SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSONKey ∷ ToJSONKeyFunction SystemTag

toJSONKeyList ∷ ToJSONKeyFunction [SystemTag]

ToJSONKey Ptr Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction Ptr

toJSONKeyList ∷ ToJSONKeyFunction [Ptr]

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

ToJSONKey CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSONKey ∷ ToJSONKeyFunction CoverageAnnotation

toJSONKeyList ∷ ToJSONKeyFunction [CoverageAnnotation]

ToJSONKey Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Scientific

toJSONKeyList ∷ ToJSONKeyFunction [Scientific]

ToJSONKey Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Text

toJSONKeyList ∷ ToJSONKeyFunction [Text]

ToJSONKey Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Text

toJSONKeyList ∷ ToJSONKeyFunction [Text]

ToJSONKey ShortText 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction ShortText

toJSONKeyList ∷ ToJSONKeyFunction [ShortText]

ToJSONKey Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Day

toJSONKeyList ∷ ToJSONKeyFunction [Day]

ToJSONKey Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Month

toJSONKeyList ∷ ToJSONKeyFunction [Month]

ToJSONKey Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Quarter

toJSONKeyList ∷ ToJSONKeyFunction [Quarter]

ToJSONKey QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction QuarterOfYear

toJSONKeyList ∷ ToJSONKeyFunction [QuarterOfYear]

ToJSONKey DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction DayOfWeek

toJSONKeyList ∷ ToJSONKeyFunction [DayOfWeek]

ToJSONKey UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction UTCTime

toJSONKeyList ∷ ToJSONKeyFunction [UTCTime]

ToJSONKey LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction LocalTime

toJSONKeyList ∷ ToJSONKeyFunction [LocalTime]

ToJSONKey TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction TimeOfDay

toJSONKeyList ∷ ToJSONKeyFunction [TimeOfDay]

ToJSONKey ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction ZonedTime

toJSONKeyList ∷ ToJSONKeyFunction [ZonedTime]

ToJSONKey UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction UUID

toJSONKeyList ∷ ToJSONKeyFunction [UUID]

ToJSONKey Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Integer

toJSONKeyList ∷ ToJSONKeyFunction [Integer]

ToJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Natural

toJSONKeyList ∷ ToJSONKeyFunction [Natural]

ToJSONKey Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Bool

toJSONKeyList ∷ ToJSONKeyFunction [Bool]

ToJSONKey Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Char

toJSONKeyList ∷ ToJSONKeyFunction [Char]

ToJSONKey Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Double

toJSONKeyList ∷ ToJSONKeyFunction [Double]

ToJSONKey Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Float

toJSONKeyList ∷ ToJSONKeyFunction [Float]

ToJSONKey Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int

toJSONKeyList ∷ ToJSONKeyFunction [Int]

ToJSONKey Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word

toJSONKeyList ∷ ToJSONKeyFunction [Word]

ToJSONKey a ⇒ ToJSONKey (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Identity a)

toJSONKeyList ∷ ToJSONKeyFunction [Identity a]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList ∷ ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList ∷ ToJSONKeyFunction [Hash ScriptData]

SerialiseAsBech32 a ⇒ ToJSONKey (UsingBech32 a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

toJSONKey ∷ ToJSONKeyFunction (UsingBech32 a)

toJSONKeyList ∷ ToJSONKeyFunction [UsingBech32 a]

SerialiseAsRawBytes a ⇒ ToJSONKey (UsingRawBytesHex a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

toJSONKey ∷ ToJSONKeyFunction (UsingRawBytesHex a)

toJSONKeyList ∷ ToJSONKeyFunction [UsingRawBytesHex a]

ToJSONKey (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey ∷ ToJSONKeyFunction (Addr crypto)

toJSONKeyList ∷ ToJSONKeyFunction [Addr crypto]

Crypto crypto ⇒ ToJSONKey (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey ∷ ToJSONKeyFunction (RewardAcnt crypto)

toJSONKeyList ∷ ToJSONKeyFunction [RewardAcnt crypto]

Crypto crypto ⇒ ToJSONKey (TxIn crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction (TxIn crypto)

toJSONKeyList ∷ ToJSONKeyFunction [TxIn crypto]

ToJSONKey (PolicyID era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction (PolicyID era)

toJSONKeyList ∷ ToJSONKeyFunction [PolicyID era]

ToJSONKey a ⇒ ToJSONKey (a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a)

toJSONKeyList ∷ ToJSONKeyFunction [(a)]

(ToJSONKey a, ToJSON a) ⇒ ToJSONKey [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction [a]

toJSONKeyList ∷ ToJSONKeyFunction [[a]]

HasResolution a ⇒ ToJSONKey (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Fixed a)

toJSONKeyList ∷ ToJSONKeyFunction [Fixed a]

HashAlgorithm h ⇒ ToJSONKey (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash h a)

toJSONKeyList ∷ ToJSONKeyFunction [Hash h a]

ToJSONKey (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSONKey ∷ ToJSONKeyFunction (AbstractHash algo a)

toJSONKeyList ∷ ToJSONKeyFunction [AbstractHash algo a]

Crypto crypto ⇒ ToJSONKey (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONKey ∷ ToJSONKeyFunction (Credential kr crypto)

toJSONKeyList ∷ ToJSONKeyFunction [Credential kr crypto]

Crypto crypto ⇒ ToJSONKey (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSONKey ∷ ToJSONKeyFunction (KeyHash disc crypto)

toJSONKeyList ∷ ToJSONKeyFunction [KeyHash disc crypto]

(ToJSON a, ToJSON b) ⇒ ToJSONKey (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a, b)

toJSONKeyList ∷ ToJSONKeyFunction [(a, b)]

(ToJSON a, ToJSONKey a) ⇒ ToJSONKey (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Const a b)

toJSONKeyList ∷ ToJSONKeyFunction [Const a b]

ToJSONKey b ⇒ ToJSONKey (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Tagged a b)

toJSONKeyList ∷ ToJSONKeyFunction [Tagged a b]

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSONKey (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a, b, c)

toJSONKeyList ∷ ToJSONKeyFunction [(a, b, c)]

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSONKey (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a, b, c, d)

toJSONKeyList ∷ ToJSONKeyFunction [(a, b, c, d)]

class FromJSON a where #

Minimal complete definition

Nothing

Methods

parseJSON ∷ Value → Parser a #

parseJSONList ∷ Value → Parser [a] #

Instances

Instances details
FromJSON Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Key #

parseJSONList ∷ Value → Parser [Key] #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DotNetTime #

parseJSONList ∷ Value → Parser [DotNetTime] #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Value #

parseJSONList ∷ Value → Parser [Value] #

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Version #

parseJSONList ∷ Value → Parser [Version] #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Void #

parseJSONList ∷ Value → Parser [Void] #

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CTime #

parseJSONList ∷ Value → Parser [CTime] #

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int16 #

parseJSONList ∷ Value → Parser [Int16] #

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int32 #

parseJSONList ∷ Value → Parser [Int32] #

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int64 #

parseJSONList ∷ Value → Parser [Int64] #

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int8 #

parseJSONList ∷ Value → Parser [Int8] #

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word16 #

parseJSONList ∷ Value → Parser [Word16] #

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word32 #

parseJSONList ∷ Value → Parser [Word32] #

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word64 #

parseJSONList ∷ Value → Parser [Word64] #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word8 #

parseJSONList ∷ Value → Parser [Word8] #

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON ∷ Value → Parser ByteString64 #

parseJSONList ∷ Value → Parser [ByteString64] #

FromJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON ∷ Value → Parser StakeAddress #

parseJSONList ∷ Value → Parser [StakeAddress] #

FromJSON ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON ∷ Value → Parser ChainPoint #

parseJSONList ∷ Value → Parser [ChainPoint] #

FromJSON SocketPath Source # 
Instance details

Defined in Cardano.Api.Environment

Methods

parseJSON ∷ Value → Parser SocketPath #

parseJSONList ∷ Value → Parser [SocketPath] #

FromJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

parseJSON ∷ Value → Parser AnyCardanoEra #

parseJSONList ∷ Value → Parser [AnyCardanoEra] #

FromJSON CostModel Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ExecutionUnitPrices #

parseJSONList ∷ Value → Parser [ExecutionUnitPrices] #

FromJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser PraosNonce #

parseJSONList ∷ Value → Parser [PraosNonce] #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ProtocolParameters #

parseJSONList ∷ Value → Parser [ProtocolParameters] #

FromJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser AnyPlutusScriptVersion #

parseJSONList ∷ Value → Parser [AnyPlutusScriptVersion] #

FromJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser ExecutionUnits #

parseJSONList ∷ Value → Parser [ExecutionUnits] #

FromJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptHash #

parseJSONList ∷ Value → Parser [ScriptHash] #

FromJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptInAnyLang #

parseJSONList ∷ Value → Parser [ScriptInAnyLang] #

FromJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser SimpleScript #

parseJSONList ∷ Value → Parser [SimpleScript] #

FromJSON TextEnvelopeCddl Source # 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

Methods

parseJSON ∷ Value → Parser TextEnvelopeCddl #

parseJSONList ∷ Value → Parser [TextEnvelopeCddl] #

FromJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelope #

parseJSONList ∷ Value → Parser [TextEnvelope] #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeDescr #

parseJSONList ∷ Value → Parser [TextEnvelopeDescr] #

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeType #

parseJSONList ∷ Value → Parser [TextEnvelopeType] #

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

parseJSON ∷ Value → Parser StakePoolMetadata #

parseJSONList ∷ Value → Parser [StakePoolMetadata] #

FromJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON ∷ Value → Parser TxId #

parseJSONList ∷ Value → Parser [TxId] #

FromJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON ∷ Value → Parser TxIn #

parseJSONList ∷ Value → Parser [TxIn] #

FromJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON ∷ Value → Parser TxIx #

parseJSONList ∷ Value → Parser [TxIx] #

FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser AssetName #

parseJSONList ∷ Value → Parser [AssetName] #

FromJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser Lovelace #

parseJSONList ∷ Value → Parser [Lovelace] #

FromJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser PolicyId #

parseJSONList ∷ Value → Parser [PolicyId] #

FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser Quantity #

parseJSONList ∷ Value → Parser [Quantity] #

FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

FromJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser ValueNestedRep #

parseJSONList ∷ Value → Parser [ValueNestedRep] #

FromJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagic #

parseJSONList ∷ Value → Parser [ProtocolMagic] #

FromJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagicId #

parseJSONList ∷ Value → Parser [ProtocolMagicId] #

FromJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser RequiresNetworkMagic #

parseJSONList ∷ Value → Parser [RequiresNetworkMagic] #

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

parseJSON ∷ Value → Parser CompactRedeemVerificationKey #

parseJSONList ∷ Value → Parser [CompactRedeemVerificationKey] #

FromJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

parseJSON ∷ Value → Parser RedeemVerificationKey #

parseJSONList ∷ Value → Parser [RedeemVerificationKey] #

FromJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

parseJSON ∷ Value → Parser VerificationKey #

parseJSONList ∷ Value → Parser [VerificationKey] #

FromJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

parseJSON ∷ Value → Parser AlonzoGenesis #

parseJSONList ∷ Value → Parser [AlonzoGenesis] #

FromJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser DnsName #

parseJSONList ∷ Value → Parser [DnsName] #

FromJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Network #

parseJSONList ∷ Value → Parser [Network] #

FromJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser NonNegativeInterval #

parseJSONList ∷ Value → Parser [NonNegativeInterval] #

FromJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Nonce #

parseJSONList ∷ Value → Parser [Nonce] #

FromJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Port #

parseJSONList ∷ Value → Parser [Port] #

FromJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser PositiveInterval #

parseJSONList ∷ Value → Parser [PositiveInterval] #

FromJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser PositiveUnitInterval #

parseJSONList ∷ Value → Parser [PositiveUnitInterval] #

FromJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser ProtVer #

parseJSONList ∷ Value → Parser [ProtVer] #

FromJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser UnitInterval #

parseJSONList ∷ Value → Parser [UnitInterval] #

FromJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Url #

parseJSONList ∷ Value → Parser [Url] #

FromJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON ∷ Value → Parser Coin #

parseJSONList ∷ Value → Parser [Coin] #

FromJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON ∷ Value → Parser RewardInfoPool #

parseJSONList ∷ Value → Parser [RewardInfoPool] #

FromJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON ∷ Value → Parser RewardParams #

parseJSONList ∷ Value → Parser [RewardParams] #

FromJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

parseJSON ∷ Value → Parser PoolMetadata #

parseJSONList ∷ Value → Parser [PoolMetadata] #

FromJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

parseJSON ∷ Value → Parser StakePoolRelay #

parseJSONList ∷ Value → Parser [StakePoolRelay] #

FromJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON ∷ Value → Parser Desirability #

parseJSONList ∷ Value → Parser [Desirability] #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochSize #

parseJSONList ∷ Value → Parser [EpochSize] #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

FromJSON SystemStart Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

parseJSON ∷ Value → Parser SystemStart #

parseJSONList ∷ Value → Parser [SystemStart] #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser IntSet #

parseJSONList ∷ Value → Parser [IntSet] #

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Ordering #

parseJSONList ∷ Value → Parser [Ordering] #

FromJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.Types

Methods

parseJSON ∷ Value → Parser PeerAdvertise #

parseJSONList ∷ Value → Parser [PeerAdvertise] #

FromJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

parseJSON ∷ Value → Parser SatInt #

parseJSONList ∷ Value → Parser [SatInt] #

FromJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

parseJSON ∷ Value → Parser ExBudget #

parseJSONList ∷ Value → Parser [ExBudget] #

FromJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON ∷ Value → Parser ExCPU #

parseJSONList ∷ Value → Parser [ExCPU] #

FromJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON ∷ Value → Parser ExMemory #

parseJSONList ∷ Value → Parser [ExMemory] #

FromJSON CekMachineCosts 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

parseJSON ∷ Value → Parser CekMachineCosts #

parseJSONList ∷ Value → Parser [CekMachineCosts] #

FromJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser CovLoc #

parseJSONList ∷ Value → Parser [CovLoc] #

FromJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser CoverageAnnotation #

parseJSONList ∷ Value → Parser [CoverageAnnotation] #

FromJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser CoverageData #

parseJSONList ∷ Value → Parser [CoverageData] #

FromJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser CoverageIndex #

parseJSONList ∷ Value → Parser [CoverageIndex] #

FromJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser CoverageMetadata #

parseJSONList ∷ Value → Parser [CoverageMetadata] #

FromJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser CoverageReport #

parseJSONList ∷ Value → Parser [CoverageReport] #

FromJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON ∷ Value → Parser Metadata #

parseJSONList ∷ Value → Parser [Metadata] #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Scientific #

parseJSONList ∷ Value → Parser [Scientific] #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON ∷ Value → Parser StudentT #

parseJSONList ∷ Value → Parser [StudentT] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON ShortText 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser ShortText #

parseJSONList ∷ Value → Parser [ShortText] #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffDays #

parseJSONList ∷ Value → Parser [CalendarDiffDays] #

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Day #

parseJSONList ∷ Value → Parser [Day] #

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Month #

parseJSONList ∷ Value → Parser [Month] #

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Quarter #

parseJSONList ∷ Value → Parser [Quarter] #

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser QuarterOfYear #

parseJSONList ∷ Value → Parser [QuarterOfYear] #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DayOfWeek #

parseJSONList ∷ Value → Parser [DayOfWeek] #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DiffTime #

parseJSONList ∷ Value → Parser [DiffTime] #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser NominalDiffTime #

parseJSONList ∷ Value → Parser [NominalDiffTime] #

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser SystemTime #

parseJSONList ∷ Value → Parser [SystemTime] #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UTCTime #

parseJSONList ∷ Value → Parser [UTCTime] #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffTime #

parseJSONList ∷ Value → Parser [CalendarDiffTime] #

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser LocalTime #

parseJSONList ∷ Value → Parser [LocalTime] #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser TimeOfDay #

parseJSONList ∷ Value → Parser [TimeOfDay] #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser ZonedTime #

parseJSONList ∷ Value → Parser [ZonedTime] #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UUID #

parseJSONList ∷ Value → Parser [UUID] #

FromJSON Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Integer #

parseJSONList ∷ Value → Parser [Integer] #

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Natural #

parseJSONList ∷ Value → Parser [Natural] #

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser () #

parseJSONList ∷ Value → Parser [()] #

FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Bool #

parseJSONList ∷ Value → Parser [Bool] #

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Char #

parseJSONList ∷ Value → Parser [Char] #

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Double #

parseJSONList ∷ Value → Parser [Double] #

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Float #

parseJSONList ∷ Value → Parser [Float] #

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int #

parseJSONList ∷ Value → Parser [Int] #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word #

parseJSONList ∷ Value → Parser [Word] #

FromJSON v ⇒ FromJSON (KeyMap v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (KeyMap v) #

parseJSONList ∷ Value → Parser [KeyMap v] #

FromJSON a ⇒ FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Identity a) #

parseJSONList ∷ Value → Parser [Identity a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

FromJSON a ⇒ FromJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Max a) #

parseJSONList ∷ Value → Parser [Max a] #

FromJSON a ⇒ FromJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Min a) #

parseJSONList ∷ Value → Parser [Min a] #

FromJSON a ⇒ FromJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (WrappedMonoid a) #

parseJSONList ∷ Value → Parser [WrappedMonoid a] #

FromJSON a ⇒ FromJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Dual a) #

parseJSONList ∷ Value → Parser [Dual a] #

(FromJSON a, Integral a) ⇒ FromJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Ratio a) #

parseJSONList ∷ Value → Parser [Ratio a] #

FromJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON ∷ Value → Parser (Address ByronAddr) #

parseJSONList ∷ Value → Parser [Address ByronAddr] #

FromJSON (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON ∷ Value → Parser (Address ShelleyAddr) #

parseJSONList ∷ Value → Parser [Address ShelleyAddr] #

IsShelleyBasedEra era ⇒ FromJSON (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON ∷ Value → Parser (AddressInEra era) #

parseJSONList ∷ Value → Parser [AddressInEra era] #

FromJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON ∷ Value → Parser (Hash BlockHeader) #

parseJSONList ∷ Value → Parser [Hash BlockHeader] #

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON ∷ Value → Parser (Hash StakePoolKey) #

parseJSONList ∷ Value → Parser [Hash StakePoolKey] #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON ∷ Value → Parser (Hash ScriptData) #

parseJSONList ∷ Value → Parser [Hash ScriptData] #

(IsShelleyBasedEra era, FromJSON (TxOut CtxUTxO era)) ⇒ FromJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

parseJSON ∷ Value → Parser (UTxO era) #

parseJSONList ∷ Value → Parser [UTxO era] #

IsCardanoEra era ⇒ FromJSON (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (ReferenceScript era) #

parseJSONList ∷ Value → Parser [ReferenceScript era] #

SerialiseAsBech32 a ⇒ FromJSON (UsingBech32 a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

parseJSON ∷ Value → Parser (UsingBech32 a) #

parseJSONList ∷ Value → Parser [UsingBech32 a] #

SerialiseAsRawBytes a ⇒ FromJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

parseJSON ∷ Value → Parser (UsingRawBytesHex a) #

parseJSONList ∷ Value → Parser [UsingRawBytesHex a] #

IsCardanoEra era ⇒ FromJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON ∷ Value → Parser (TxOutValue era) #

parseJSONList ∷ Value → Parser [TxOutValue era] #

FromJSON a ⇒ FromJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

parseJSON ∷ Value → Parser (RedeemSignature a) #

parseJSONList ∷ Value → Parser [RedeemSignature a] #

FromJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

parseJSON ∷ Value → Parser (Signature w) #

parseJSONList ∷ Value → Parser [Signature w] #

Crypto crypto ⇒ FromJSON (ConwayGenesis crypto) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

parseJSON ∷ Value → Parser (ConwayGenesis crypto) #

parseJSONList ∷ Value → Parser [ConwayGenesis crypto] #

Crypto crypto ⇒ FromJSON (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON ∷ Value → Parser (Addr crypto) #

parseJSONList ∷ Value → Parser [Addr crypto] #

Crypto crypto ⇒ FromJSON (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON ∷ Value → Parser (RewardAcnt crypto) #

parseJSONList ∷ Value → Parser [RewardAcnt crypto] #

Crypto crypto ⇒ FromJSON (BlocksMade crypto) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser (BlocksMade crypto) #

parseJSONList ∷ Value → Parser [BlocksMade crypto] #

Crypto crypto ⇒ FromJSON (ScriptHash crypto) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON ∷ Value → Parser (ScriptHash crypto) #

parseJSONList ∷ Value → Parser [ScriptHash crypto] #

Crypto crypto ⇒ FromJSON (GenDelegPair crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (GenDelegPair crypto) #

parseJSONList ∷ Value → Parser [GenDelegPair crypto] #

Crypto crypto ⇒ FromJSON (GenDelegs crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (GenDelegs crypto) #

parseJSONList ∷ Value → Parser [GenDelegs crypto] #

Era era ⇒ FromJSON (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON ∷ Value → Parser (ShelleyGenesis era) #

parseJSONList ∷ Value → Parser [ShelleyGenesis era] #

Crypto crypto ⇒ FromJSON (ShelleyGenesisStaking crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON ∷ Value → Parser (ShelleyGenesisStaking crypto) #

parseJSONList ∷ Value → Parser [ShelleyGenesisStaking crypto] #

FromJSON (ShelleyPParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

parseJSON ∷ Value → Parser (ShelleyPParams era) #

parseJSONList ∷ Value → Parser [ShelleyPParams era] #

Crypto crypto ⇒ FromJSON (PoolParams crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

parseJSON ∷ Value → Parser (PoolParams crypto) #

parseJSONList ∷ Value → Parser [PoolParams crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenance crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenance crypto) #

parseJSONList ∷ Value → Parser [RewardProvenance crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenancePool crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenancePool crypto) #

parseJSONList ∷ Value → Parser [RewardProvenancePool crypto] #

FromJSON a ⇒ FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

parseJSON ∷ Value → Parser (StrictMaybe a) #

parseJSONList ∷ Value → Parser [StrictMaybe a] #

FromJSON a ⇒ FromJSON (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

Methods

parseJSON ∷ Value → Parser (StrictSeq a) #

parseJSONList ∷ Value → Parser [StrictSeq a] #

FromJSON a ⇒ FromJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (IntMap a) #

parseJSONList ∷ Value → Parser [IntMap a] #

FromJSON a ⇒ FromJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Seq a) #

parseJSONList ∷ Value → Parser [Seq a] #

(Ord a, FromJSON a) ⇒ FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Set a) #

parseJSONList ∷ Value → Parser [Set a] #

FromJSON v ⇒ FromJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tree v) #

parseJSONList ∷ Value → Parser [Tree v] #

FromJSON1 f ⇒ FromJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fix f) #

parseJSONList ∷ Value → Parser [Fix f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Mu f) #

parseJSONList ∷ Value → Parser [Mu f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Nu f) #

parseJSONList ∷ Value → Parser [Nu f] #

FromJSON a ⇒ FromJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DNonEmpty a) #

parseJSONList ∷ Value → Parser [DNonEmpty a] #

FromJSON a ⇒ FromJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DList a) #

parseJSONList ∷ Value → Parser [DList a] #

(Generic a, GFromJSON Zero (Rep a)) ⇒ FromJSON (Generically a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Generically a) #

parseJSONList ∷ Value → Parser [Generically a] #

FromJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser (BuiltinCostModelBase CostingFun) #

parseJSONList ∷ Value → Parser [BuiltinCostModelBase CostingFun] #

FromJSON a ⇒ FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Array a) #

parseJSONList ∷ Value → Parser [Array a] #

(Prim a, FromJSON a) ⇒ FromJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (PrimArray a) #

parseJSONList ∷ Value → Parser [PrimArray a] #

FromJSON a ⇒ FromJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (SmallArray a) #

parseJSONList ∷ Value → Parser [SmallArray a] #

FromJSON d ⇒ FromJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

parseJSON ∷ Value → Parser (LinearTransform d) #

parseJSONList ∷ Value → Parser [LinearTransform d] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashSet a) #

parseJSONList ∷ Value → Parser [HashSet a] #

FromJSON a ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

(Prim a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

(Storable a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

(Vector Vector a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON a ⇒ FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (NonEmpty a) #

parseJSONList ∷ Value → Parser [NonEmpty a] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

FromJSON a ⇒ FromJSON (a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a) #

parseJSONList ∷ Value → Parser [(a)] #

FromJSON a ⇒ FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser [a] #

parseJSONList ∷ Value → Parser [[a]] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

HasResolution a ⇒ FromJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fixed a) #

parseJSONList ∷ Value → Parser [Fixed a] #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Proxy a) #

parseJSONList ∷ Value → Parser [Proxy a] #

FromJSON (EraInMode AllegraEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode AllegraEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode AllegraEra CardanoMode] #

FromJSON (EraInMode AlonzoEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode AlonzoEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode AlonzoEra CardanoMode] #

FromJSON (EraInMode BabbageEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode BabbageEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode BabbageEra CardanoMode] #

FromJSON (EraInMode ByronEra ByronMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode ByronEra ByronMode) #

parseJSONList ∷ Value → Parser [EraInMode ByronEra ByronMode] #

FromJSON (EraInMode ByronEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode ByronEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode ByronEra CardanoMode] #

FromJSON (EraInMode ConwayEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode ConwayEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode ConwayEra CardanoMode] #

FromJSON (EraInMode MaryEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode MaryEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode MaryEra CardanoMode] #

FromJSON (EraInMode ShelleyEra CardanoMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode ShelleyEra CardanoMode) #

parseJSONList ∷ Value → Parser [EraInMode ShelleyEra CardanoMode] #

FromJSON (EraInMode ShelleyEra ShelleyMode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON ∷ Value → Parser (EraInMode ShelleyEra ShelleyMode) #

parseJSONList ∷ Value → Parser [EraInMode ShelleyEra ShelleyMode] #

IsShelleyBasedEra era ⇒ FromJSON (TxOut CtxTx era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON ∷ Value → Parser (TxOut CtxTx era) #

parseJSONList ∷ Value → Parser [TxOut CtxTx era] #

IsShelleyBasedEra era ⇒ FromJSON (TxOut CtxUTxO era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON ∷ Value → Parser (TxOut CtxUTxO era) #

parseJSONList ∷ Value → Parser [TxOut CtxUTxO era] #

FromJSON b ⇒ FromJSON (Annotated b ()) 
Instance details

Defined in Cardano.Binary.Annotated

Methods

parseJSON ∷ Value → Parser (Annotated b ()) #

parseJSONList ∷ Value → Parser [Annotated b ()] #

HashAlgorithm h ⇒ FromJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

parseJSON ∷ Value → Parser (Hash h a) #

parseJSONList ∷ Value → Parser [Hash h a] #

HashAlgorithm algo ⇒ FromJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

parseJSON ∷ Value → Parser (AbstractHash algo a) #

parseJSONList ∷ Value → Parser [AbstractHash algo a] #

(FromJSON v, FromJSONKey k) ⇒ FromJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

parseJSON ∷ Value → Parser (ListMap k v) #

parseJSONList ∷ Value → Parser [ListMap k v] #

Bounded (BoundedRatio b Word64) ⇒ FromJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser (BoundedRatio b Word64) #

parseJSONList ∷ Value → Parser [BoundedRatio b Word64] #

Crypto crypto ⇒ FromJSON (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

parseJSON ∷ Value → Parser (Credential kr crypto) #

parseJSONList ∷ Value → Parser [Credential kr crypto] #

Crypto crypto ⇒ FromJSON (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (KeyHash disc crypto) #

parseJSONList ∷ Value → Parser [KeyHash disc crypto] #

(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Map k v) #

parseJSONList ∷ Value → Parser [Map k v] #

(FromJSONKey k, Ord k, FromJSON a) ⇒ FromJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

parseJSON ∷ Value → Parser (MonoidalMap k a) #

parseJSONList ∷ Value → Parser [MonoidalMap k a] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Pair a b) #

parseJSONList ∷ Value → Parser [Pair a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON v, FromJSONKey k, Eq k, Hashable k) ⇒ FromJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashMap k v) #

parseJSONList ∷ Value → Parser [HashMap k v] #

(FromJSON a, FromJSON b) ⇒ FromJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b) #

parseJSONList ∷ Value → Parser [(a, b)] #

FromJSON a ⇒ FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Const a b) #

parseJSONList ∷ Value → Parser [Const a b] #

FromJSON b ⇒ FromJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tagged a b) #

parseJSONList ∷ Value → Parser [Tagged a b] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These1 f g a) #

parseJSONList ∷ Value → Parser [These1 f g a] #

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c) #

parseJSONList ∷ Value → Parser [(a, b, c)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Product f g a) #

parseJSONList ∷ Value → Parser [Product f g a] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Sum f g a) #

parseJSONList ∷ Value → Parser [Sum f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d) #

parseJSONList ∷ Value → Parser [(a, b, c, d)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Compose f g a) #

parseJSONList ∷ Value → Parser [Compose f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) ⇒ FromJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) ⇒ FromJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) ⇒ FromJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) ⇒ FromJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) ⇒ FromJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

class FromJSONKey a #

Instances

Instances details
FromJSONKey Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Key

fromJSONKeyList ∷ FromJSONKeyFunction [Key]

FromJSONKey Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Version

fromJSONKeyList ∷ FromJSONKeyFunction [Version]

FromJSONKey Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Void

fromJSONKeyList ∷ FromJSONKeyFunction [Void]

FromJSONKey Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int16

fromJSONKeyList ∷ FromJSONKeyFunction [Int16]

FromJSONKey Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int32

fromJSONKeyList ∷ FromJSONKeyFunction [Int32]

FromJSONKey Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int64

fromJSONKeyList ∷ FromJSONKeyFunction [Int64]

FromJSONKey Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int8

fromJSONKeyList ∷ FromJSONKeyFunction [Int8]

FromJSONKey Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word16

fromJSONKeyList ∷ FromJSONKeyFunction [Word16]

FromJSONKey Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word32

fromJSONKeyList ∷ FromJSONKeyFunction [Word32]

FromJSONKey Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word64

fromJSONKeyList ∷ FromJSONKeyFunction [Word64]

FromJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word8

fromJSONKeyList ∷ FromJSONKeyFunction [Word8]

FromJSONKey ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

fromJSONKey ∷ FromJSONKeyFunction ByteString64

fromJSONKeyList ∷ FromJSONKeyFunction [ByteString64]

FromJSONKey AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

fromJSONKey ∷ FromJSONKeyFunction AnyPlutusScriptVersion

fromJSONKeyList ∷ FromJSONKeyFunction [AnyPlutusScriptVersion]

FromJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey ∷ FromJSONKeyFunction TxId

fromJSONKeyList ∷ FromJSONKeyFunction [TxId]

FromJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey ∷ FromJSONKeyFunction TxIn

fromJSONKeyList ∷ FromJSONKeyFunction [TxIn]

FromJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

fromJSONKey ∷ FromJSONKeyFunction AssetName

fromJSONKeyList ∷ FromJSONKeyFunction [AssetName]

FromJSONKey CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

fromJSONKey ∷ FromJSONKeyFunction CompactRedeemVerificationKey

fromJSONKeyList ∷ FromJSONKeyFunction [CompactRedeemVerificationKey]

FromJSONKey RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

fromJSONKey ∷ FromJSONKeyFunction RedeemVerificationKey

fromJSONKeyList ∷ FromJSONKeyFunction [RedeemVerificationKey]

FromJSONKey CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

fromJSONKey ∷ FromJSONKeyFunction CoverageAnnotation

fromJSONKeyList ∷ FromJSONKeyFunction [CoverageAnnotation]

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Text

fromJSONKeyList ∷ FromJSONKeyFunction [Text]

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Text

fromJSONKeyList ∷ FromJSONKeyFunction [Text]

FromJSONKey ShortText 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction ShortText

fromJSONKeyList ∷ FromJSONKeyFunction [ShortText]

FromJSONKey Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Day

fromJSONKeyList ∷ FromJSONKeyFunction [Day]

FromJSONKey Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Month

fromJSONKeyList ∷ FromJSONKeyFunction [Month]

FromJSONKey Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Quarter

fromJSONKeyList ∷ FromJSONKeyFunction [Quarter]

FromJSONKey QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction QuarterOfYear

fromJSONKeyList ∷ FromJSONKeyFunction [QuarterOfYear]

FromJSONKey DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction DayOfWeek

fromJSONKeyList ∷ FromJSONKeyFunction [DayOfWeek]

FromJSONKey UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction UTCTime

fromJSONKeyList ∷ FromJSONKeyFunction [UTCTime]

FromJSONKey LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction LocalTime

fromJSONKeyList ∷ FromJSONKeyFunction [LocalTime]

FromJSONKey TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction TimeOfDay

fromJSONKeyList ∷ FromJSONKeyFunction [TimeOfDay]

FromJSONKey ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction ZonedTime

fromJSONKeyList ∷ FromJSONKeyFunction [ZonedTime]

FromJSONKey UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction UUID

fromJSONKeyList ∷ FromJSONKeyFunction [UUID]

FromJSONKey Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Integer

fromJSONKeyList ∷ FromJSONKeyFunction [Integer]

FromJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Natural

fromJSONKeyList ∷ FromJSONKeyFunction [Natural]

FromJSONKey Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Bool

fromJSONKeyList ∷ FromJSONKeyFunction [Bool]

FromJSONKey Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Char

fromJSONKeyList ∷ FromJSONKeyFunction [Char]

FromJSONKey Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Double

fromJSONKeyList ∷ FromJSONKeyFunction [Double]

FromJSONKey Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Float

fromJSONKeyList ∷ FromJSONKeyFunction [Float]

FromJSONKey Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int

fromJSONKeyList ∷ FromJSONKeyFunction [Int]

FromJSONKey Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word

fromJSONKeyList ∷ FromJSONKeyFunction [Word]

FromJSONKey a ⇒ FromJSONKey (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (Identity a)

fromJSONKeyList ∷ FromJSONKeyFunction [Identity a]

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData]

SerialiseAsBech32 a ⇒ FromJSONKey (UsingBech32 a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

fromJSONKey ∷ FromJSONKeyFunction (UsingBech32 a)

fromJSONKeyList ∷ FromJSONKeyFunction [UsingBech32 a]

SerialiseAsRawBytes a ⇒ FromJSONKey (UsingRawBytesHex a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

fromJSONKey ∷ FromJSONKeyFunction (UsingRawBytesHex a)

fromJSONKeyList ∷ FromJSONKeyFunction [UsingRawBytesHex a]

Crypto crypto ⇒ FromJSONKey (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey ∷ FromJSONKeyFunction (Addr crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [Addr crypto]

Crypto crypto ⇒ FromJSONKey (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey ∷ FromJSONKeyFunction (RewardAcnt crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [RewardAcnt crypto]

FromJSONKey a ⇒ FromJSONKey (a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a)

fromJSONKeyList ∷ FromJSONKeyFunction [(a)]

(FromJSONKey a, FromJSON a) ⇒ FromJSONKey [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction [a]

fromJSONKeyList ∷ FromJSONKeyFunction [[a]]

HashAlgorithm h ⇒ FromJSONKey (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash h a)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash h a]

(HashAlgorithm algo, FromJSON (AbstractHash algo a)) ⇒ FromJSONKey (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

fromJSONKey ∷ FromJSONKeyFunction (AbstractHash algo a)

fromJSONKeyList ∷ FromJSONKeyFunction [AbstractHash algo a]

Crypto crypto ⇒ FromJSONKey (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

fromJSONKey ∷ FromJSONKeyFunction (Credential kr crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [Credential kr crypto]

Crypto crypto ⇒ FromJSONKey (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

fromJSONKey ∷ FromJSONKeyFunction (KeyHash disc crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [KeyHash disc crypto]

(FromJSON a, FromJSON b) ⇒ FromJSONKey (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a, b)

fromJSONKeyList ∷ FromJSONKeyFunction [(a, b)]

(FromJSON a, FromJSONKey a) ⇒ FromJSONKey (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (Const a b)

fromJSONKeyList ∷ FromJSONKeyFunction [Const a b]

FromJSONKey b ⇒ FromJSONKey (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (Tagged a b)

fromJSONKeyList ∷ FromJSONKeyFunction [Tagged a b]

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSONKey (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a, b, c)

fromJSONKeyList ∷ FromJSONKeyFunction [(a, b, c)]

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSONKey (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a, b, c, d)

fromJSONKeyList ∷ FromJSONKeyFunction [(a, b, c, d)]

writeFileJSONToJSON a ⇒ FilePath → a → IO (Either (FileError ()) ()) Source #