cardano-api:internal
Safe HaskellNone
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 #

omitField :: a -> Bool #

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 #

omitField :: Key -> Bool #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DotNetTime -> Value #

toEncoding :: DotNetTime -> Encoding #

toJSONList :: [DotNetTime] -> Value #

toEncodingList :: [DotNetTime] -> Encoding #

omitField :: DotNetTime -> Bool #

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Value -> Value #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value #

toEncodingList :: [Value] -> Encoding #

omitField :: Value -> Bool #

ToJSON All 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: All -> Value #

toEncoding :: All -> Encoding #

toJSONList :: [All] -> Value #

toEncodingList :: [All] -> Encoding #

omitField :: All -> Bool #

ToJSON Any 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Any -> Value #

toEncoding :: Any -> Encoding #

toJSONList :: [Any] -> Value #

toEncodingList :: [Any] -> Encoding #

omitField :: Any -> Bool #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Version -> Value #

toEncoding :: Version -> Encoding #

toJSONList :: [Version] -> Value #

toEncodingList :: [Version] -> Encoding #

omitField :: Version -> Bool #

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: CTime -> Value #

toEncoding :: CTime -> Encoding #

toJSONList :: [CTime] -> Value #

toEncodingList :: [CTime] -> Encoding #

omitField :: CTime -> Bool #

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Void -> Value #

toEncoding :: Void -> Encoding #

toJSONList :: [Void] -> Value #

toEncodingList :: [Void] -> Encoding #

omitField :: Void -> Bool #

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int16 -> Value #

toEncoding :: Int16 -> Encoding #

toJSONList :: [Int16] -> Value #

toEncodingList :: [Int16] -> Encoding #

omitField :: Int16 -> Bool #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int32 -> Value #

toEncoding :: Int32 -> Encoding #

toJSONList :: [Int32] -> Value #

toEncodingList :: [Int32] -> Encoding #

omitField :: Int32 -> Bool #

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int64 -> Value #

toEncoding :: Int64 -> Encoding #

toJSONList :: [Int64] -> Value #

toEncodingList :: [Int64] -> Encoding #

omitField :: Int64 -> Bool #

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int8 -> Value #

toEncoding :: Int8 -> Encoding #

toJSONList :: [Int8] -> Value #

toEncodingList :: [Int8] -> Encoding #

omitField :: Int8 -> Bool #

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word16 -> Value #

toEncoding :: Word16 -> Encoding #

toJSONList :: [Word16] -> Value #

toEncodingList :: [Word16] -> Encoding #

omitField :: Word16 -> Bool #

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word32 -> Value #

toEncoding :: Word32 -> Encoding #

toJSONList :: [Word32] -> Value #

toEncodingList :: [Word32] -> Encoding #

omitField :: Word32 -> Bool #

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word64 -> Value #

toEncoding :: Word64 -> Encoding #

toJSONList :: [Word64] -> Value #

toEncodingList :: [Word64] -> Encoding #

omitField :: Word64 -> Bool #

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word8 -> Value #

toEncoding :: Word8 -> Encoding #

toJSONList :: [Word8] -> Value #

toEncodingList :: [Word8] -> Encoding #

omitField :: Word8 -> Bool #

ToJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSON :: ByteString64 -> Value #

toEncoding :: ByteString64 -> Encoding #

toJSONList :: [ByteString64] -> Value #

toEncodingList :: [ByteString64] -> Encoding #

omitField :: ByteString64 -> Bool #

ToJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: StakeAddress -> Value #

toEncoding :: StakeAddress -> Encoding #

toJSONList :: [StakeAddress] -> Value #

toEncodingList :: [StakeAddress] -> Encoding #

omitField :: StakeAddress -> Bool #

ToJSON StakeCredential Source # 
Instance details

Defined in Cardano.Api.Address

ToJSON ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: ChainPoint -> Value #

toEncoding :: ChainPoint -> Encoding #

toJSONList :: [ChainPoint] -> Value #

toEncodingList :: [ChainPoint] -> Encoding #

omitField :: ChainPoint -> Bool #

ToJSON ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: ChainTip -> Value #

toEncoding :: ChainTip -> Encoding #

toJSONList :: [ChainTip] -> Value #

toEncodingList :: [ChainTip] -> Encoding #

omitField :: ChainTip -> Bool #

ToJSON AnyShelleyBasedEra Source # 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

ToJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras.Core

Methods

toJSON :: AnyCardanoEra -> Value #

toEncoding :: AnyCardanoEra -> Encoding #

toJSONList :: [AnyCardanoEra] -> Value #

toEncodingList :: [AnyCardanoEra] -> Encoding #

omitField :: AnyCardanoEra -> Bool #

ToJSON LocalTxMonitoringResult Source # 
Instance details

Defined in Cardano.Api.IPC

ToJSON TxValidationErrorInCardanoMode Source # 
Instance details

Defined in Cardano.Api.InMode

ToJSON CostModels Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: CostModels -> Value #

toEncoding :: CostModels -> Encoding #

toJSONList :: [CostModels] -> Value #

toEncodingList :: [CostModels] -> Encoding #

omitField :: CostModels -> Bool #

ToJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: PraosNonce -> Value #

toEncoding :: PraosNonce -> Encoding #

toJSONList :: [PraosNonce] -> Value #

toEncodingList :: [PraosNonce] -> Encoding #

omitField :: PraosNonce -> Bool #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON DelegationsAndRewards Source # 
Instance details

Defined in Cardano.Api.Rewards

ToJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptHash -> Value #

toEncoding :: ScriptHash -> Encoding #

toJSONList :: [ScriptHash] -> Value #

toEncodingList :: [ScriptHash] -> Encoding #

omitField :: ScriptHash -> Bool #

ToJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: SimpleScript -> Value #

toEncoding :: SimpleScript -> Encoding #

toJSONList :: [SimpleScript] -> Value #

toEncodingList :: [SimpleScript] -> Encoding #

omitField :: SimpleScript -> Bool #

ToJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSON :: TextEnvelope -> Value #

toEncoding :: TextEnvelope -> Encoding #

toJSONList :: [TextEnvelope] -> Value #

toEncodingList :: [TextEnvelope] -> Encoding #

omitField :: TextEnvelope -> Bool #

ToJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON ScriptWitnessIndex Source # 
Instance details

Defined in Cardano.Api.Tx.Body

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxId -> Value #

toEncoding :: TxId -> Encoding #

toJSONList :: [TxId] -> Value #

toEncodingList :: [TxId] -> Encoding #

omitField :: TxId -> Bool #

ToJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

omitField :: TxIn -> Bool #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

omitField :: TxIx -> Bool #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

omitField :: AssetName -> Bool #

ToJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: PolicyId -> Value #

toEncoding :: PolicyId -> Encoding #

toJSONList :: [PolicyId] -> Value #

toEncodingList :: [PolicyId] -> Encoding #

omitField :: PolicyId -> Bool #

ToJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Quantity -> Value #

toEncoding :: Quantity -> Encoding #

toJSONList :: [Quantity] -> Value #

toEncodingList :: [Quantity] -> Encoding #

omitField :: Quantity -> Bool #

ToJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Value -> Value #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value #

toEncodingList :: [Value] -> Encoding #

omitField :: Value -> Bool #

ToJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

ToJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON :: ProtocolMagic -> Value #

toEncoding :: ProtocolMagic -> Encoding #

toJSONList :: [ProtocolMagic] -> Value #

toEncodingList :: [ProtocolMagic] -> Encoding #

omitField :: ProtocolMagic -> Bool #

ToJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

ToJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

ToJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

ToJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

ToJSON ValidityInterval 
Instance details

Defined in Cardano.Ledger.Allegra.Scripts

ToJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

toJSON :: AlonzoGenesis -> Value #

toEncoding :: AlonzoGenesis -> Encoding #

toJSONList :: [AlonzoGenesis] -> Value #

toEncodingList :: [AlonzoGenesis] -> Encoding #

omitField :: AlonzoGenesis -> Bool #

ToJSON CoinPerWord 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toJSON :: CoinPerWord -> Value #

toEncoding :: CoinPerWord -> Encoding #

toJSONList :: [CoinPerWord] -> Value #

toEncodingList :: [CoinPerWord] -> Encoding #

omitField :: CoinPerWord -> Bool #

ToJSON OrdExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toJSON :: OrdExUnits -> Value #

toEncoding :: OrdExUnits -> Encoding #

toJSONList :: [OrdExUnits] -> Value #

toEncodingList :: [OrdExUnits] -> Encoding #

omitField :: OrdExUnits -> Bool #

ToJSON FailureDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

ToJSON TagMismatchDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

ToJSON IsValid 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

toJSON :: IsValid -> Value #

toEncoding :: IsValid -> Encoding #

toJSONList :: [IsValid] -> Value #

toEncodingList :: [IsValid] -> Encoding #

omitField :: IsValid -> Bool #

ToJSON MemberStatus 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Methods

toJSON :: MemberStatus -> Value #

toEncoding :: MemberStatus -> Encoding #

toJSONList :: [MemberStatus] -> Value #

toEncodingList :: [MemberStatus] -> Encoding #

omitField :: MemberStatus -> Bool #

ToJSON NextEpochChange 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

ToJSON CoinPerByte 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

toJSON :: CoinPerByte -> Value #

toEncoding :: CoinPerByte -> Encoding #

toJSONList :: [CoinPerByte] -> Value #

toEncodingList :: [CoinPerByte] -> Encoding #

omitField :: CoinPerByte -> Bool #

ToJSON ByteSpan 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

toJSON :: ByteSpan -> Value #

toEncoding :: ByteSpan -> Encoding #

toJSONList :: [ByteSpan] -> Value #

toEncodingList :: [ByteSpan] -> Encoding #

omitField :: ByteSpan -> Bool #

ToJSON Version 
Instance details

Defined in Cardano.Ledger.Binary.Version

Methods

toJSON :: Version -> Value #

toEncoding :: Version -> Encoding #

toJSONList :: [Version] -> Value #

toEncodingList :: [Version] -> Encoding #

omitField :: Version -> Bool #

ToJSON Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Methods

toJSON :: Proof -> Value #

toEncoding :: Proof -> Encoding #

toJSONList :: [Proof] -> Value #

toEncodingList :: [Proof] -> Encoding #

omitField :: Proof -> Bool #

ToJSON ApplyMempoolPayloadErr Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

ToJSON HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

ToJSON AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toJSON :: AddrType -> Value #

toEncoding :: AddrType -> Encoding #

toJSONList :: [AddrType] -> Value #

toEncodingList :: [AddrType] -> Encoding #

omitField :: AddrType -> Bool #

ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON :: Address -> Value #

toEncoding :: Address -> Encoding #

toJSONList :: [Address] -> Value #

toEncodingList :: [Address] -> Encoding #

omitField :: Address -> Bool #

ToJSON UnparsedFields 
Instance details

Defined in Cardano.Chain.Common.Attributes

ToJSON ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

ToJSON KeyHash Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: KeyHash -> Value #

toEncoding :: KeyHash -> Encoding #

toJSONList :: [KeyHash] -> Value #

toEncodingList :: [KeyHash] -> Encoding #

omitField :: KeyHash -> Bool #

ToJSON Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toJSON :: Lovelace -> Value #

toEncoding :: Lovelace -> Encoding #

toJSONList :: [Lovelace] -> Value #

toEncodingList :: [Lovelace] -> Encoding #

omitField :: Lovelace -> Bool #

ToJSON LovelaceError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: LovelaceError -> Value #

toEncoding :: LovelaceError -> Encoding #

toJSONList :: [LovelaceError] -> Value #

toEncodingList :: [LovelaceError] -> Encoding #

omitField :: LovelaceError -> Bool #

ToJSON LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toJSON :: NetworkMagic -> Value #

toEncoding :: NetworkMagic -> Encoding #

toJSONList :: [NetworkMagic] -> Value #

toEncodingList :: [NetworkMagic] -> Encoding #

omitField :: NetworkMagic -> Bool #

ToJSON TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toJSON :: TxFeePolicy -> Value #

toEncoding :: TxFeePolicy -> Encoding #

toJSONList :: [TxFeePolicy] -> Value #

toEncodingList :: [TxFeePolicy] -> Encoding #

omitField :: TxFeePolicy -> Bool #

ToJSON TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

toJSON :: TxSizeLinear -> Value #

toEncoding :: TxSizeLinear -> Encoding #

toJSONList :: [TxSizeLinear] -> Value #

toEncodingList :: [TxSizeLinear] -> Encoding #

omitField :: TxSizeLinear -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

toJSON :: GenesisHash -> Value #

toEncoding :: GenesisHash -> Encoding #

toJSONList :: [GenesisHash] -> Value #

toEncodingList :: [GenesisHash] -> Encoding #

omitField :: GenesisHash -> Bool #

ToJSON EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toJSON :: EpochNumber -> Value #

toEncoding :: EpochNumber -> Encoding #

toJSONList :: [EpochNumber] -> Value #

toEncodingList :: [EpochNumber] -> Encoding #

omitField :: EpochNumber -> Bool #

ToJSON SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toJSON :: SlotNumber -> Value #

toEncoding :: SlotNumber -> Encoding #

toJSONList :: [SlotNumber] -> Value #

toEncodingList :: [SlotNumber] -> Encoding #

omitField :: SlotNumber -> Bool #

ToJSON SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON :: SscPayload -> Value #

toEncoding :: SscPayload -> Encoding #

toJSONList :: [SscPayload] -> Value #

toEncodingList :: [SscPayload] -> Encoding #

omitField :: SscPayload -> Bool #

ToJSON SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON :: SscProof -> Value #

toEncoding :: SscProof -> Encoding #

toJSONList :: [SscProof] -> Value #

toEncodingList :: [SscProof] -> Encoding #

omitField :: SscProof -> Bool #

ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: Tx -> Value #

toEncoding :: Tx -> Encoding #

toJSONList :: [Tx] -> Value #

toEncodingList :: [Tx] -> Encoding #

omitField :: Tx -> Bool #

ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

omitField :: TxIn -> Bool #

ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxOut -> Value #

toEncoding :: TxOut -> Encoding #

toJSONList :: [TxOut] -> Value #

toEncodingList :: [TxOut] -> Encoding #

omitField :: TxOut -> Bool #

ToJSON TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Methods

toJSON :: TxProof -> Value #

toEncoding :: TxProof -> Encoding #

toJSONList :: [TxProof] -> Value #

toEncodingList :: [TxProof] -> Encoding #

omitField :: TxProof -> Bool #

ToJSON TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON :: TxInWitness -> Value #

toEncoding :: TxInWitness -> Encoding #

toJSONList :: [TxInWitness] -> Value #

toEncodingList :: [TxInWitness] -> Encoding #

omitField :: TxInWitness -> Bool #

ToJSON TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON :: TxSigData -> Value #

toEncoding :: TxSigData -> Encoding #

toJSONList :: [TxSigData] -> Value #

toEncodingList :: [TxSigData] -> Encoding #

omitField :: TxSigData -> Bool #

ToJSON UTxOError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: UTxOError -> Value #

toEncoding :: UTxOError -> Encoding #

toJSONList :: [UTxOError] -> Value #

toEncodingList :: [UTxOError] -> Encoding #

omitField :: UTxOError -> Bool #

ToJSON TxValidationError Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON UTxOValidationError Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

ToJSON ApplicationNameError Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

toJSON :: InstallerHash -> Value #

toEncoding :: InstallerHash -> Encoding #

toJSONList :: [InstallerHash] -> Value #

toEncodingList :: [InstallerHash] -> Encoding #

omitField :: InstallerHash -> Bool #

ToJSON ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON :: ProposalBody -> Value #

toEncoding :: ProposalBody -> Encoding #

toJSONList :: [ProposalBody] -> Value #

toEncodingList :: [ProposalBody] -> Encoding #

omitField :: ProposalBody -> Bool #

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

ToJSON SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toJSON :: SoftforkRule -> Value #

toEncoding :: SoftforkRule -> Encoding #

toJSONList :: [SoftforkRule] -> Value #

toEncodingList :: [SoftforkRule] -> Encoding #

omitField :: SoftforkRule -> Bool #

ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

ToJSON SoftwareVersionError Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSON :: SystemTag -> Value #

toEncoding :: SystemTag -> Encoding #

toJSONList :: [SystemTag] -> Value #

toEncodingList :: [SystemTag] -> Encoding #

omitField :: SystemTag -> Bool #

ToJSON SystemTagError Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Adopted Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Adopted -> Value #

toEncoding :: Adopted -> Encoding #

toJSONList :: [Adopted] -> Value #

toEncodingList :: [Adopted] -> Encoding #

omitField :: Adopted -> Bool #

ToJSON ApplicationVersion Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON GovActionIx 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionIx -> Value #

toEncoding :: GovActionIx -> Encoding #

toJSONList :: [GovActionIx] -> Value #

toEncodingList :: [GovActionIx] -> Encoding #

omitField :: GovActionIx -> Bool #

ToJSON Vote 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Vote -> Value #

toEncoding :: Vote -> Encoding #

toJSONList :: [Vote] -> Value #

toEncodingList :: [Vote] -> Encoding #

omitField :: Vote -> Bool #

ToJSON DRepVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON PoolVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON CertIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: CertIx -> Value #

toEncoding :: CertIx -> Encoding #

toJSONList :: [CertIx] -> Value #

toEncodingList :: [CertIx] -> Encoding #

omitField :: CertIx -> Bool #

ToJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: DnsName -> Value #

toEncoding :: DnsName -> Encoding #

toJSONList :: [DnsName] -> Value #

toEncodingList :: [DnsName] -> Encoding #

omitField :: DnsName -> Bool #

ToJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Network -> Value #

toEncoding :: Network -> Encoding #

toJSONList :: [Network] -> Value #

toEncodingList :: [Network] -> Encoding #

omitField :: Network -> Bool #

ToJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Nonce -> Value #

toEncoding :: Nonce -> Encoding #

toJSONList :: [Nonce] -> Value #

toEncodingList :: [Nonce] -> Encoding #

omitField :: Nonce -> Bool #

ToJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Port -> Value #

toEncoding :: Port -> Encoding #

toJSONList :: [Port] -> Value #

toEncodingList :: [Port] -> Encoding #

omitField :: Port -> Bool #

ToJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: ProtVer -> Value #

toEncoding :: ProtVer -> Encoding #

toJSONList :: [ProtVer] -> Value #

toEncodingList :: [ProtVer] -> Encoding #

omitField :: ProtVer -> Bool #

ToJSON Relation 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Relation -> Value #

toEncoding :: Relation -> Encoding #

toJSONList :: [Relation] -> Value #

toEncodingList :: [Relation] -> Encoding #

omitField :: Relation -> Bool #

ToJSON TxIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

omitField :: TxIx -> Bool #

ToJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: UnitInterval -> Value #

toEncoding :: UnitInterval -> Encoding #

toJSONList :: [UnitInterval] -> Value #

toEncodingList :: [UnitInterval] -> Encoding #

omitField :: UnitInterval -> Bool #

ToJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Url -> Value #

toEncoding :: Url -> Encoding #

toJSONList :: [Url] -> Value #

toEncodingList :: [Url] -> Encoding #

omitField :: Url -> Bool #

ToJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: Coin -> Value #

toEncoding :: Coin -> Encoding #

toJSONList :: [Coin] -> Value #

toEncodingList :: [Coin] -> Encoding #

omitField :: Coin -> Bool #

ToJSON DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: DeltaCoin -> Value #

toEncoding :: DeltaCoin -> Encoding #

toJSONList :: [DeltaCoin] -> Value #

toEncodingList :: [DeltaCoin] -> Encoding #

omitField :: DeltaCoin -> Bool #

ToJSON Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Ptr -> Value #

toEncoding :: Ptr -> Encoding #

toJSONList :: [Ptr] -> Value #

toEncodingList :: [Ptr] -> Encoding #

omitField :: Ptr -> Bool #

ToJSON CostModel 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

toJSON :: CostModel -> Value #

toEncoding :: CostModel -> Encoding #

toJSONList :: [CostModel] -> Value #

toEncodingList :: [CostModel] -> Encoding #

omitField :: CostModel -> Bool #

ToJSON CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

toJSON :: CostModels -> Value #

toEncoding :: CostModels -> Encoding #

toJSONList :: [CostModels] -> Value #

toEncodingList :: [CostModels] -> Encoding #

omitField :: CostModels -> Bool #

ToJSON ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

toJSON :: ExUnits -> Value #

toEncoding :: ExUnits -> Encoding #

toJSONList :: [ExUnits] -> Value #

toEncodingList :: [ExUnits] -> Encoding #

omitField :: ExUnits -> Bool #

ToJSON Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

toJSON :: Prices -> Value #

toEncoding :: Prices -> Encoding #

toJSONList :: [Prices] -> Value #

toEncodingList :: [Prices] -> Encoding #

omitField :: Prices -> Bool #

ToJSON Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

toJSON :: Language -> Value #

toEncoding :: Language -> Encoding #

toJSONList :: [Language] -> Value #

toEncodingList :: [Language] -> Encoding #

omitField :: Language -> Bool #

ToJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

toJSON :: PoolMetadata -> Value #

toEncoding :: PoolMetadata -> Encoding #

toJSONList :: [PoolMetadata] -> Value #

toEncodingList :: [PoolMetadata] -> Encoding #

omitField :: PoolMetadata -> Bool #

ToJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

ToJSON RewardType 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSON :: RewardType -> Value #

toEncoding :: RewardType -> Encoding #

toJSONList :: [RewardType] -> Value #

toEncodingList :: [RewardType] -> Encoding #

omitField :: RewardType -> Bool #

ToJSON AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

omitField :: AssetName -> Bool #

ToJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

ToJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON :: RewardParams -> Value #

toEncoding :: RewardParams -> Encoding #

toJSONList :: [RewardParams] -> Value #

toEncodingList :: [RewardParams] -> Encoding #

omitField :: RewardParams -> Bool #

ToJSON NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

ToJSON AccountState 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: AccountState -> Value #

toEncoding :: AccountState -> Encoding #

toJSONList :: [AccountState] -> Value #

toEncodingList :: [AccountState] -> Encoding #

omitField :: AccountState -> Bool #

ToJSON Likelihood 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: Likelihood -> Value #

toEncoding :: Likelihood -> Encoding #

toJSONList :: [Likelihood] -> Value #

toEncodingList :: [Likelihood] -> Encoding #

omitField :: Likelihood -> Bool #

ToJSON LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: LogWeight -> Value #

toEncoding :: LogWeight -> Encoding #

toJSONList :: [LogWeight] -> Value #

toEncodingList :: [LogWeight] -> Encoding #

omitField :: LogWeight -> Bool #

ToJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: Desirability -> Value #

toEncoding :: Desirability -> Encoding #

toJSONList :: [Desirability] -> Value #

toEncodingList :: [Desirability] -> Encoding #

omitField :: Desirability -> Bool #

ToJSON VotingPeriod Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: VotingPeriod -> Value #

toEncoding :: VotingPeriod -> Encoding #

toJSONList :: [VotingPeriod] -> Value #

toEncodingList :: [VotingPeriod] -> Encoding #

omitField :: VotingPeriod -> Bool #

ToJSON MIRPot 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: MIRPot -> Value #

toEncoding :: MIRPot -> Encoding #

toJSONList :: [MIRPot] -> Value #

toEncodingList :: [MIRPot] -> Encoding #

omitField :: MIRPot -> Bool #

ToJSON TicknState Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: TicknState -> Value #

toEncoding :: TicknState -> Encoding #

toJSONList :: [TicknState] -> Value #

toEncodingList :: [TicknState] -> Encoding #

omitField :: TicknState -> Bool #

ToJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toJSON :: BlockNo -> Value #

toEncoding :: BlockNo -> Encoding #

toJSONList :: [BlockNo] -> Value #

toEncodingList :: [BlockNo] -> Encoding #

omitField :: BlockNo -> Bool #

ToJSON EpochInterval 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochInterval -> Value #

toEncoding :: EpochInterval -> Encoding #

toJSONList :: [EpochInterval] -> Value #

toEncodingList :: [EpochInterval] -> Encoding #

omitField :: EpochInterval -> Bool #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochNo -> Value #

toEncoding :: EpochNo -> Encoding #

toJSONList :: [EpochNo] -> Value #

toEncodingList :: [EpochNo] -> Encoding #

omitField :: EpochNo -> Bool #

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochSize -> Value #

toEncoding :: EpochSize -> Encoding #

toJSONList :: [EpochSize] -> Value #

toEncodingList :: [EpochSize] -> Encoding #

omitField :: EpochSize -> Bool #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: SlotNo -> Value #

toEncoding :: SlotNo -> Encoding #

toJSONList :: [SlotNo] -> Value #

toEncodingList :: [SlotNo] -> Encoding #

omitField :: SlotNo -> Bool #

ToJSON RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

Methods

toJSON :: RelativeTime -> Value #

toEncoding :: RelativeTime -> Encoding #

toJSONList :: [RelativeTime] -> Value #

toEncodingList :: [RelativeTime] -> Encoding #

omitField :: RelativeTime -> Bool #

ToJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

toJSON :: SystemStart -> Value #

toEncoding :: SystemStart -> Encoding #

toJSONList :: [SystemStart] -> Value #

toEncodingList :: [SystemStart] -> Encoding #

omitField :: SystemStart -> Bool #

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: IntSet -> Value #

toEncoding :: IntSet -> Encoding #

toJSONList :: [IntSet] -> Value #

toEncodingList :: [IntSet] -> Encoding #

omitField :: IntSet -> Bool #

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Ordering -> Value #

toEncoding :: Ordering -> Encoding #

toJSONList :: [Ordering] -> Value #

toEncodingList :: [Ordering] -> Encoding #

omitField :: Ordering -> Bool #

ToJSON URI 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: URI -> Value #

toEncoding :: URI -> Encoding #

toJSONList :: [URI] -> Value #

toEncodingList :: [URI] -> Encoding #

omitField :: URI -> Bool #

ToJSON ByronHash Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ByronHash -> Value #

toEncoding :: ByronHash -> Encoding #

toJSONList :: [ByronHash] -> Value #

toEncodingList :: [ByronHash] -> Encoding #

omitField :: ByronHash -> Bool #

ToJSON AccPoolStakeCoded 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

toJSON :: AccPoolStakeCoded -> Value #

toEncoding :: AccPoolStakeCoded -> Encoding #

toJSONList :: [AccPoolStakeCoded] -> Value #

toEncodingList :: [AccPoolStakeCoded] -> Encoding #

omitField :: AccPoolStakeCoded -> Bool #

ToJSON LedgerPeerSnapshot 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

ToJSON PoolStakeCoded 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

toJSON :: PoolStakeCoded -> Value #

toEncoding :: PoolStakeCoded -> Encoding #

toJSONList :: [PoolStakeCoded] -> Value #

toEncodingList :: [PoolStakeCoded] -> Encoding #

omitField :: PoolStakeCoded -> Bool #

ToJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

Methods

toJSON :: PeerAdvertise -> Value #

toEncoding :: PeerAdvertise -> Encoding #

toJSONList :: [PeerAdvertise] -> Value #

toEncodingList :: [PeerAdvertise] -> Encoding #

omitField :: PeerAdvertise -> Bool #

ToJSON DomainAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

ToJSON RelayAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

ToJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

toJSON :: ExBudget -> Value #

toEncoding :: ExBudget -> Encoding #

toJSONList :: [ExBudget] -> Value #

toEncodingList :: [ExBudget] -> Encoding #

omitField :: ExBudget -> Bool #

ToJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

toJSON :: ExCPU -> Value #

toEncoding :: ExCPU -> Encoding #

toJSONList :: [ExCPU] -> Value #

toEncodingList :: [ExCPU] -> Encoding #

omitField :: ExCPU -> Bool #

ToJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

toJSON :: ExMemory -> Value #

toEncoding :: ExMemory -> Encoding #

toJSONList :: [ExMemory] -> Value #

toEncodingList :: [ExMemory] -> Encoding #

omitField :: ExMemory -> Bool #

ToJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

toJSON :: SatInt -> Value #

toEncoding :: SatInt -> Encoding #

toJSONList :: [SatInt] -> Value #

toEncodingList :: [SatInt] -> Encoding #

omitField :: SatInt -> Bool #

ToJSON DefinitionId 
Instance details

Defined in PlutusTx.Blueprint.Definition.Id

Methods

toJSON :: DefinitionId -> Value #

toEncoding :: DefinitionId -> Encoding #

toJSONList :: [DefinitionId] -> Value #

toEncodingList :: [DefinitionId] -> Encoding #

omitField :: DefinitionId -> Bool #

ToJSON PlutusVersion 
Instance details

Defined in PlutusTx.Blueprint.PlutusVersion

Methods

toJSON :: PlutusVersion -> Value #

toEncoding :: PlutusVersion -> Encoding #

toJSONList :: [PlutusVersion] -> Value #

toEncodingList :: [PlutusVersion] -> Encoding #

omitField :: PlutusVersion -> Bool #

ToJSON Preamble 
Instance details

Defined in PlutusTx.Blueprint.Preamble

Methods

toJSON :: Preamble -> Value #

toEncoding :: Preamble -> Encoding #

toJSONList :: [Preamble] -> Value #

toEncodingList :: [Preamble] -> Encoding #

omitField :: Preamble -> Bool #

ToJSON SchemaComment 
Instance details

Defined in PlutusTx.Blueprint.Schema.Annotation

Methods

toJSON :: SchemaComment -> Value #

toEncoding :: SchemaComment -> Encoding #

toJSONList :: [SchemaComment] -> Value #

toEncodingList :: [SchemaComment] -> Encoding #

omitField :: SchemaComment -> Bool #

ToJSON SchemaDescription 
Instance details

Defined in PlutusTx.Blueprint.Schema.Annotation

ToJSON SchemaTitle 
Instance details

Defined in PlutusTx.Blueprint.Schema.Annotation

Methods

toJSON :: SchemaTitle -> Value #

toEncoding :: SchemaTitle -> Encoding #

toJSONList :: [SchemaTitle] -> Value #

toEncodingList :: [SchemaTitle] -> Encoding #

omitField :: SchemaTitle -> Bool #

ToJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CovLoc -> Value #

toEncoding :: CovLoc -> Encoding #

toJSONList :: [CovLoc] -> Value #

toEncodingList :: [CovLoc] -> Encoding #

omitField :: CovLoc -> Bool #

ToJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageData -> Value #

toEncoding :: CoverageData -> Encoding #

toJSONList :: [CoverageData] -> Value #

toEncodingList :: [CoverageData] -> Encoding #

omitField :: CoverageData -> Bool #

ToJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageIndex -> Value #

toEncoding :: CoverageIndex -> Encoding #

toJSONList :: [CoverageIndex] -> Value #

toEncodingList :: [CoverageIndex] -> Encoding #

omitField :: CoverageIndex -> Bool #

ToJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

ToJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: Metadata -> Value #

toEncoding :: Metadata -> Encoding #

toJSONList :: [Metadata] -> Value #

toEncodingList :: [Metadata] -> Encoding #

omitField :: Metadata -> Bool #

ToJSON Rational

This mimics the behaviour of Aeson's instance for Rational.

Instance details

Defined in PlutusTx.Ratio

Methods

toJSON :: Rational -> Value #

toEncoding :: Rational -> Encoding #

toJSONList :: [Rational] -> Value #

toEncodingList :: [Rational] -> Encoding #

omitField :: Rational -> Bool #

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Scientific -> Value #

toEncoding :: Scientific -> Encoding #

toJSONList :: [Scientific] -> Value #

toEncodingList :: [Scientific] -> Encoding #

omitField :: Scientific -> Bool #

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

toJSON :: StudentT -> Value #

toEncoding :: StudentT -> Encoding #

toJSONList :: [StudentT] -> Value #

toEncodingList :: [StudentT] -> Encoding #

omitField :: StudentT -> Bool #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Text -> Value #

toEncoding :: Text -> Encoding #

toJSONList :: [Text] -> Value #

toEncodingList :: [Text] -> Encoding #

omitField :: Text -> Bool #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Text -> Value #

toEncoding :: Text -> Encoding #

toJSONList :: [Text] -> Value #

toEncodingList :: [Text] -> Encoding #

omitField :: Text -> Bool #

ToJSON ShortText 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: ShortText -> Value #

toEncoding :: ShortText -> Encoding #

toJSONList :: [ShortText] -> Value #

toEncodingList :: [ShortText] -> Encoding #

omitField :: ShortText -> Bool #

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Day -> Value #

toEncoding :: Day -> Encoding #

toJSONList :: [Day] -> Value #

toEncodingList :: [Day] -> Encoding #

omitField :: Day -> Bool #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Month -> Value #

toEncoding :: Month -> Encoding #

toJSONList :: [Month] -> Value #

toEncodingList :: [Month] -> Encoding #

omitField :: Month -> Bool #

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Quarter -> Value #

toEncoding :: Quarter -> Encoding #

toJSONList :: [Quarter] -> Value #

toEncodingList :: [Quarter] -> Encoding #

omitField :: Quarter -> Bool #

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: QuarterOfYear -> Value #

toEncoding :: QuarterOfYear -> Encoding #

toJSONList :: [QuarterOfYear] -> Value #

toEncodingList :: [QuarterOfYear] -> Encoding #

omitField :: QuarterOfYear -> Bool #

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DayOfWeek -> Value #

toEncoding :: DayOfWeek -> Encoding #

toJSONList :: [DayOfWeek] -> Value #

toEncodingList :: [DayOfWeek] -> Encoding #

omitField :: DayOfWeek -> Bool #

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DiffTime -> Value #

toEncoding :: DiffTime -> Encoding #

toJSONList :: [DiffTime] -> Value #

toEncodingList :: [DiffTime] -> Encoding #

omitField :: DiffTime -> Bool #

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: SystemTime -> Value #

toEncoding :: SystemTime -> Encoding #

toJSONList :: [SystemTime] -> Value #

toEncodingList :: [SystemTime] -> Encoding #

omitField :: SystemTime -> Bool #

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: UTCTime -> Value #

toEncoding :: UTCTime -> Encoding #

toJSONList :: [UTCTime] -> Value #

toEncodingList :: [UTCTime] -> Encoding #

omitField :: UTCTime -> Bool #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: LocalTime -> Value #

toEncoding :: LocalTime -> Encoding #

toJSONList :: [LocalTime] -> Value #

toEncodingList :: [LocalTime] -> Encoding #

omitField :: LocalTime -> Bool #

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: TimeOfDay -> Value #

toEncoding :: TimeOfDay -> Encoding #

toJSONList :: [TimeOfDay] -> Value #

toEncodingList :: [TimeOfDay] -> Encoding #

omitField :: TimeOfDay -> Bool #

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: ZonedTime -> Value #

toEncoding :: ZonedTime -> Encoding #

toJSONList :: [ZonedTime] -> Value #

toEncodingList :: [ZonedTime] -> Encoding #

omitField :: ZonedTime -> Bool #

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: UUID -> Value #

toEncoding :: UUID -> Encoding #

toJSONList :: [UUID] -> Value #

toEncodingList :: [UUID] -> Encoding #

omitField :: UUID -> Bool #

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Integer -> Value #

toEncoding :: Integer -> Encoding #

toJSONList :: [Integer] -> Value #

toEncodingList :: [Integer] -> Encoding #

omitField :: Integer -> Bool #

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Natural -> Value #

toEncoding :: Natural -> Encoding #

toJSONList :: [Natural] -> Value #

toEncodingList :: [Natural] -> Encoding #

omitField :: Natural -> Bool #

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: () -> Value #

toEncoding :: () -> Encoding #

toJSONList :: [()] -> Value #

toEncodingList :: [()] -> Encoding #

omitField :: () -> Bool #

ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Bool -> Value #

toEncoding :: Bool -> Encoding #

toJSONList :: [Bool] -> Value #

toEncodingList :: [Bool] -> Encoding #

omitField :: Bool -> Bool #

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Char -> Value #

toEncoding :: Char -> Encoding #

toJSONList :: [Char] -> Value #

toEncodingList :: [Char] -> Encoding #

omitField :: Char -> Bool #

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Double -> Value #

toEncoding :: Double -> Encoding #

toJSONList :: [Double] -> Value #

toEncodingList :: [Double] -> Encoding #

omitField :: Double -> Bool #

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Float -> Value #

toEncoding :: Float -> Encoding #

toJSONList :: [Float] -> Value #

toEncodingList :: [Float] -> Encoding #

omitField :: Float -> Bool #

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int -> Value #

toEncoding :: Int -> Encoding #

toJSONList :: [Int] -> Value #

toEncodingList :: [Int] -> Encoding #

omitField :: Int -> Bool #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word -> Value #

toEncoding :: Word -> Encoding #

toJSONList :: [Word] -> Value #

toEncodingList :: [Word] -> Encoding #

omitField :: Word -> Bool #

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 #

omitField :: KeyMap v -> Bool #

ToJSON a => ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Identity a -> Value #

toEncoding :: Identity a -> Encoding #

toJSONList :: [Identity a] -> Value #

toEncodingList :: [Identity a] -> Encoding #

omitField :: Identity a -> Bool #

ToJSON a => ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: First a -> Value #

toEncoding :: First a -> Encoding #

toJSONList :: [First a] -> Value #

toEncodingList :: [First a] -> Encoding #

omitField :: First a -> Bool #

ToJSON a => ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Last a -> Value #

toEncoding :: Last a -> Encoding #

toJSONList :: [Last a] -> Value #

toEncodingList :: [Last a] -> Encoding #

omitField :: Last a -> Bool #

ToJSON a => ToJSON (Down a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Down a -> Value #

toEncoding :: Down a -> Encoding #

toJSONList :: [Down a] -> Value #

toEncodingList :: [Down a] -> Encoding #

omitField :: Down a -> Bool #

ToJSON a => ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: First a -> Value #

toEncoding :: First a -> Encoding #

toJSONList :: [First a] -> Value #

toEncodingList :: [First a] -> Encoding #

omitField :: First a -> Bool #

ToJSON a => ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Last a -> Value #

toEncoding :: Last a -> Encoding #

toJSONList :: [Last a] -> Value #

toEncodingList :: [Last a] -> Encoding #

omitField :: Last a -> Bool #

ToJSON a => ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Max a -> Value #

toEncoding :: Max a -> Encoding #

toJSONList :: [Max a] -> Value #

toEncodingList :: [Max a] -> Encoding #

omitField :: Max a -> Bool #

ToJSON a => ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Min a -> Value #

toEncoding :: Min a -> Encoding #

toJSONList :: [Min a] -> Value #

toEncodingList :: [Min a] -> Encoding #

omitField :: Min a -> Bool #

ToJSON a => ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: WrappedMonoid a -> Value #

toEncoding :: WrappedMonoid a -> Encoding #

toJSONList :: [WrappedMonoid a] -> Value #

toEncodingList :: [WrappedMonoid a] -> Encoding #

omitField :: WrappedMonoid a -> Bool #

ToJSON a => ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Dual a -> Value #

toEncoding :: Dual a -> Encoding #

toJSONList :: [Dual a] -> Value #

toEncodingList :: [Dual a] -> Encoding #

omitField :: Dual a -> Bool #

ToJSON a => ToJSON (Product a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Product a -> Value #

toEncoding :: Product a -> Encoding #

toJSONList :: [Product a] -> Value #

toEncodingList :: [Product a] -> Encoding #

omitField :: Product a -> Bool #

ToJSON a => ToJSON (Sum a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Sum a -> Value #

toEncoding :: Sum a -> Encoding #

toJSONList :: [Sum a] -> Value #

toEncodingList :: [Sum a] -> Encoding #

omitField :: Sum a -> Bool #

ToJSON a => ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: NonEmpty a -> Value #

toEncoding :: NonEmpty a -> Encoding #

toJSONList :: [NonEmpty a] -> Value #

toEncodingList :: [NonEmpty a] -> Encoding #

omitField :: NonEmpty a -> Bool #

(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 #

omitField :: Generically a -> Bool #

(ToJSON a, Integral a) => ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Ratio a -> Value #

toEncoding :: Ratio a -> Encoding #

toJSONList :: [Ratio a] -> Value #

toEncodingList :: [Ratio a] -> Encoding #

omitField :: Ratio a -> Bool #

ToJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

ToJSON (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

IsCardanoEra era => ToJSON (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: AddressInEra era -> Value #

toEncoding :: AddressInEra era -> Encoding #

toJSONList :: [AddressInEra era] -> Value #

toEncodingList :: [AddressInEra era] -> Encoding #

omitField :: AddressInEra era -> Bool #

ToJSON (ShelleyBasedEra era) Source # 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

Methods

toJSON :: ShelleyBasedEra era -> Value #

toEncoding :: ShelleyBasedEra era -> Encoding #

toJSONList :: [ShelleyBasedEra era] -> Value #

toEncodingList :: [ShelleyBasedEra era] -> Encoding #

omitField :: ShelleyBasedEra era -> Bool #

ToJSON (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Eras.Core

Methods

toJSON :: CardanoEra era -> Value #

toEncoding :: CardanoEra era -> Encoding #

toJSONList :: [CardanoEra era] -> Value #

toEncodingList :: [CardanoEra era] -> Encoding #

omitField :: CardanoEra era -> Bool #

ToJSON (Era era) Source # 
Instance details

Defined in Cardano.Api.Experimental.Eras

Methods

toJSON :: Era era -> Value #

toEncoding :: Era era -> Encoding #

toJSONList :: [Era era] -> Value #

toEncodingList :: [Era era] -> Encoding #

omitField :: Era era -> Bool #

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash DRepKey -> Value #

toEncoding :: Hash DRepKey -> Encoding #

toJSONList :: [Hash DRepKey] -> Value #

toEncodingList :: [Hash DRepKey] -> Encoding #

omitField :: Hash DRepKey -> Bool #

ToJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash GenesisKey -> Value #

toEncoding :: Hash GenesisKey -> Encoding #

toJSONList :: [Hash GenesisKey] -> Value #

toEncodingList :: [Hash GenesisKey] -> Encoding #

omitField :: Hash GenesisKey -> Bool #

ToJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

omitField :: Hash ScriptData -> Bool #

ToJSON (TxValidationError era) Source # 
Instance details

Defined in Cardano.Api.InMode

Methods

toJSON :: TxValidationError era -> Value #

toEncoding :: TxValidationError era -> Encoding #

toJSONList :: [TxValidationError era] -> Value #

toEncodingList :: [TxValidationError era] -> Encoding #

omitField :: TxValidationError era -> Bool #

IsCardanoEra era => ToJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

omitField :: UTxO era -> Bool #

IsShelleyBasedEra era => ToJSON (DebugLedgerState era) Source # 
Instance details

Defined in Cardano.Api.Query.Types

Methods

toJSON :: DebugLedgerState era -> Value #

toEncoding :: DebugLedgerState era -> Encoding #

toJSONList :: [DebugLedgerState era] -> Value #

toEncodingList :: [DebugLedgerState era] -> Encoding #

omitField :: DebugLedgerState era -> Bool #

IsCardanoEra era => ToJSON (ReferenceScript era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ReferenceScript era -> Value #

toEncoding :: ReferenceScript era -> Encoding #

toJSONList :: [ReferenceScript era] -> Value #

toEncodingList :: [ReferenceScript era] -> Encoding #

omitField :: ReferenceScript era -> Bool #

SerialiseAsBech32 a => ToJSON (UsingBech32 a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

toJSON :: UsingBech32 a -> Value #

toEncoding :: UsingBech32 a -> Encoding #

toJSONList :: [UsingBech32 a] -> Value #

toEncodingList :: [UsingBech32 a] -> Encoding #

omitField :: UsingBech32 a -> Bool #

SerialiseAsRawBytes a => ToJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

toJSON :: UsingRawBytesHex a -> Value #

toEncoding :: UsingRawBytesHex a -> Encoding #

toJSONList :: [UsingRawBytesHex a] -> Value #

toEncodingList :: [UsingRawBytesHex a] -> Encoding #

omitField :: UsingRawBytesHex a -> Bool #

IsCardanoEra era => ToJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.Tx.Body

Methods

toJSON :: TxOutValue era -> Value #

toEncoding :: TxOutValue era -> Encoding #

toJSONList :: [TxOutValue era] -> Value #

toEncodingList :: [TxOutValue era] -> Encoding #

omitField :: TxOutValue era -> Bool #

Show a => ToJSON (ShowOf a) Source # 
Instance details

Defined in Cardano.Api.Via.ShowOf

Methods

toJSON :: ShowOf a -> Value #

toEncoding :: ShowOf a -> Encoding #

toJSONList :: [ShowOf a] -> Value #

toEncodingList :: [ShowOf a] -> Encoding #

omitField :: ShowOf a -> Bool #

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 #

omitField :: RedeemSignature a -> Bool #

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 #

omitField :: Signature w -> Bool #

ToJSON a => ToJSON (OSet a) 
Instance details

Defined in Data.OSet.Strict

Methods

toJSON :: OSet a -> Value #

toEncoding :: OSet a -> Encoding #

toJSONList :: [OSet a] -> Value #

toEncodingList :: [OSet a] -> Encoding #

omitField :: OSet a -> Bool #

Show (AllegraUtxoPredFailure ledgerera) => ToJSON (AllegraUtxoPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: AllegraUtxoPredFailure ledgerera -> Value #

toEncoding :: AllegraUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [AllegraUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [AllegraUtxoPredFailure ledgerera] -> Encoding #

omitField :: AllegraUtxoPredFailure ledgerera -> Bool #

(Era era, ToJSON (PlutusPurpose AsItem era), ToJSON (ContextError era)) => ToJSON (CollectError era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Plutus.Evaluate

Methods

toJSON :: CollectError era -> Value #

toEncoding :: CollectError era -> Encoding #

toJSONList :: [CollectError era] -> Value #

toEncodingList :: [CollectError era] -> Encoding #

omitField :: CollectError era -> Bool #

ToJSON (AlonzoContextError era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Plutus.TxInfo

Methods

toJSON :: AlonzoContextError era -> Value #

toEncoding :: AlonzoContextError era -> Encoding #

toJSONList :: [AlonzoContextError era] -> Value #

toEncodingList :: [AlonzoContextError era] -> Encoding #

omitField :: AlonzoContextError era -> Bool #

Show (AlonzoUtxoPredFailure ledgerera) => ToJSON (AlonzoUtxoPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: AlonzoUtxoPredFailure ledgerera -> Value #

toEncoding :: AlonzoUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [AlonzoUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [AlonzoUtxoPredFailure ledgerera] -> Encoding #

omitField :: AlonzoUtxoPredFailure ledgerera -> Bool #

(Crypto (EraCrypto ledgerera), ToJSON (PredicateFailure (EraRule "UTXO" ledgerera)), ToJSON (PlutusPurpose AsItem ledgerera), ToJSON (PlutusPurpose AsIx ledgerera)) => ToJSON (AlonzoUtxowPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: AlonzoUtxowPredFailure ledgerera -> Value #

toEncoding :: AlonzoUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [AlonzoUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [AlonzoUtxowPredFailure ledgerera] -> Encoding #

omitField :: AlonzoUtxowPredFailure ledgerera -> Bool #

AlonzoEraScript era => ToJSON (AlonzoScript era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSON :: AlonzoScript era -> Value #

toEncoding :: AlonzoScript era -> Encoding #

toJSONList :: [AlonzoScript era] -> Value #

toEncodingList :: [AlonzoScript era] -> Encoding #

omitField :: AlonzoScript era -> Bool #

(Era era, Val (Value era)) => ToJSON (AlonzoTxOut era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxOut

Methods

toJSON :: AlonzoTxOut era -> Value #

toEncoding :: AlonzoTxOut era -> Encoding #

toJSONList :: [AlonzoTxOut era] -> Value #

toEncodingList :: [AlonzoTxOut era] -> Encoding #

omitField :: AlonzoTxOut era -> Bool #

Crypto c => ToJSON (CommitteeMemberState c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Crypto c => ToJSON (CommitteeMembersState c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Crypto c => ToJSON (HotCredAuthStatus c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Show (BabbageUtxoPredFailure ledgerera) => ToJSON (BabbageUtxoPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: BabbageUtxoPredFailure ledgerera -> Value #

toEncoding :: BabbageUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [BabbageUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [BabbageUtxoPredFailure ledgerera] -> Encoding #

omitField :: BabbageUtxoPredFailure ledgerera -> Bool #

(Crypto (EraCrypto ledgerera), ToJSON (PredicateFailure (EraRule "UTXO" ledgerera)), ToJSON (TxCert ledgerera), ToJSON (PlutusPurpose AsItem ledgerera), ToJSON (PlutusPurpose AsIx ledgerera)) => ToJSON (BabbageUtxowPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: BabbageUtxowPredFailure ledgerera -> Value #

toEncoding :: BabbageUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [BabbageUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [BabbageUtxowPredFailure ledgerera] -> Encoding #

omitField :: BabbageUtxowPredFailure ledgerera -> Bool #

ToJSON (PlutusPurpose AsIx era) => ToJSON (BabbageContextError era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxInfo

Methods

toJSON :: BabbageContextError era -> Value #

toEncoding :: BabbageContextError era -> Encoding #

toJSONList :: [BabbageContextError era] -> Value #

toEncodingList :: [BabbageContextError era] -> Encoding #

omitField :: BabbageContextError era -> Bool #

(Era era, ToJSON (Datum era), ToJSON (Script era), Val (Value era)) => ToJSON (BabbageTxOut era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxOut

Methods

toJSON :: BabbageTxOut era -> Value #

toEncoding :: BabbageTxOut era -> Encoding #

toJSONList :: [BabbageTxOut era] -> Value #

toEncodingList :: [BabbageTxOut era] -> Encoding #

omitField :: BabbageTxOut era -> Bool #

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 #

omitField :: ABlock a -> Bool #

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 #

omitField :: ABlockOrBoundary a -> Bool #

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 #

omitField :: ABoundaryBlock a -> Bool #

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 #

omitField :: ABoundaryBody a -> Bool #

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 #

omitField :: ABody a -> Bool #

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 #

omitField :: ABlockSignature a -> Bool #

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 #

omitField :: ABoundaryHeader a -> Bool #

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 #

omitField :: AHeader a -> Bool #

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 #

omitField :: Attributes a -> Bool #

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 #

omitField :: MerkleRoot a -> Bool #

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 #

omitField :: ACertificate a -> Bool #

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 #

omitField :: APayload a -> Bool #

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 #

omitField :: ATxAux a -> Bool #

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 #

omitField :: ATxPayload a -> Bool #

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 #

omitField :: APayload a -> Bool #

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 #

omitField :: AProposal a -> Bool #

ToJSON a => ToJSON (TooLarge a) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: TooLarge a -> Value #

toEncoding :: TooLarge a -> Encoding #

toJSONList :: [TooLarge a] -> Value #

toEncodingList :: [TooLarge a] -> Encoding #

omitField :: TooLarge a -> Bool #

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 #

omitField :: AVote a -> Bool #

Crypto c => ToJSON (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

toJSON :: ConwayGenesis c -> Value #

toEncoding :: ConwayGenesis c -> Encoding #

toJSONList :: [ConwayGenesis c] -> Value #

toEncodingList :: [ConwayGenesis c] -> Encoding #

omitField :: ConwayGenesis c -> Bool #

EraPParams era => ToJSON (ConwayGovState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

toJSON :: ConwayGovState era -> Value #

toEncoding :: ConwayGovState era -> Encoding #

toJSONList :: [ConwayGovState era] -> Value #

toEncodingList :: [ConwayGovState era] -> Encoding #

omitField :: ConwayGovState era -> Bool #

EraPParams era => ToJSON (PulsingSnapshot era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.DRepPulser

Methods

toJSON :: PulsingSnapshot era -> Value #

toEncoding :: PulsingSnapshot era -> Encoding #

toJSONList :: [PulsingSnapshot era] -> Value #

toEncodingList :: [PulsingSnapshot era] -> Encoding #

omitField :: PulsingSnapshot era -> Bool #

EraPParams era => ToJSON (EnactState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Internal

Methods

toJSON :: EnactState era -> Value #

toEncoding :: EnactState era -> Encoding #

toJSONList :: [EnactState era] -> Value #

toEncodingList :: [EnactState era] -> Encoding #

omitField :: EnactState era -> Bool #

EraPParams era => ToJSON (RatifyState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Internal

Methods

toJSON :: RatifyState era -> Value #

toEncoding :: RatifyState era -> Encoding #

toJSONList :: [RatifyState era] -> Value #

toEncodingList :: [RatifyState era] -> Encoding #

omitField :: RatifyState era -> Bool #

EraPParams era => ToJSON (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Committee era -> Value #

toEncoding :: Committee era -> Encoding #

toJSONList :: [Committee era] -> Value #

toEncodingList :: [Committee era] -> Encoding #

omitField :: Committee era -> Bool #

Era era => ToJSON (Constitution era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Constitution era -> Value #

toEncoding :: Constitution era -> Encoding #

toJSONList :: [Constitution era] -> Value #

toEncodingList :: [Constitution era] -> Encoding #

omitField :: Constitution era -> Bool #

EraPParams era => ToJSON (GovAction era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovAction era -> Value #

toEncoding :: GovAction era -> Encoding #

toJSONList :: [GovAction era] -> Value #

toEncodingList :: [GovAction era] -> Encoding #

omitField :: GovAction era -> Bool #

Crypto c => ToJSON (GovActionId c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionId c -> Value #

toEncoding :: GovActionId c -> Encoding #

toJSONList :: [GovActionId c] -> Value #

toEncodingList :: [GovActionId c] -> Encoding #

omitField :: GovActionId c -> Bool #

EraPParams era => ToJSON (GovActionState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionState era -> Value #

toEncoding :: GovActionState era -> Encoding #

toJSONList :: [GovActionState era] -> Value #

toEncodingList :: [GovActionState era] -> Encoding #

omitField :: GovActionState era -> Bool #

EraPParams era => ToJSON (ProposalProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: ProposalProcedure era -> Value #

toEncoding :: ProposalProcedure era -> Encoding #

toJSONList :: [ProposalProcedure era] -> Value #

toEncodingList :: [ProposalProcedure era] -> Encoding #

omitField :: ProposalProcedure era -> Bool #

Crypto c => ToJSON (Voter c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Voter c -> Value #

toEncoding :: Voter c -> Encoding #

toJSONList :: [Voter c] -> Value #

toEncodingList :: [Voter c] -> Encoding #

omitField :: Voter c -> Bool #

EraPParams era => ToJSON (VotingProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: VotingProcedure era -> Value #

toEncoding :: VotingProcedure era -> Encoding #

toJSONList :: [VotingProcedure era] -> Value #

toEncodingList :: [VotingProcedure era] -> Encoding #

omitField :: VotingProcedure era -> Bool #

EraPParams era => ToJSON (VotingProcedures era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: VotingProcedures era -> Value #

toEncoding :: VotingProcedures era -> Encoding #

toJSONList :: [VotingProcedures era] -> Value #

toEncodingList :: [VotingProcedures era] -> Encoding #

omitField :: VotingProcedures era -> Bool #

EraPParams era => ToJSON (Proposals era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Methods

toJSON :: Proposals era -> Value #

toEncoding :: Proposals era -> Encoding #

toJSONList :: [Proposals era] -> Value #

toEncodingList :: [Proposals era] -> Encoding #

omitField :: Proposals era -> Bool #

ToJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Show (ConwayLedgerPredFailure ledgerera) => ToJSON (ConwayLedgerPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ConwayLedgerPredFailure ledgerera -> Value #

toEncoding :: ConwayLedgerPredFailure ledgerera -> Encoding #

toJSONList :: [ConwayLedgerPredFailure ledgerera] -> Value #

toEncodingList :: [ConwayLedgerPredFailure ledgerera] -> Encoding #

omitField :: ConwayLedgerPredFailure ledgerera -> Bool #

Crypto c => ToJSON (ConwayDelegCert c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

toJSON :: ConwayDelegCert c -> Value #

toEncoding :: ConwayDelegCert c -> Encoding #

toJSONList :: [ConwayDelegCert c] -> Value #

toEncodingList :: [ConwayDelegCert c] -> Encoding #

omitField :: ConwayDelegCert c -> Bool #

Crypto c => ToJSON (ConwayGovCert c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

toJSON :: ConwayGovCert c -> Value #

toEncoding :: ConwayGovCert c -> Encoding #

toJSONList :: [ConwayGovCert c] -> Value #

toEncodingList :: [ConwayGovCert c] -> Encoding #

omitField :: ConwayGovCert c -> Bool #

Era era => ToJSON (ConwayTxCert era) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

toJSON :: ConwayTxCert era -> Value #

toEncoding :: ConwayTxCert era -> Encoding #

toJSONList :: [ConwayTxCert era] -> Value #

toEncodingList :: [ConwayTxCert era] -> Encoding #

omitField :: ConwayTxCert era -> Bool #

Crypto c => ToJSON (Delegatee c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

toJSON :: Delegatee c -> Value #

toEncoding :: Delegatee c -> Encoding #

toJSONList :: [Delegatee c] -> Value #

toEncodingList :: [Delegatee c] -> Encoding #

omitField :: Delegatee c -> Bool #

(ToJSON (TxCert era), ToJSON (PlutusPurpose AsIx era), ToJSON (PlutusPurpose AsItem era), EraPParams era) => ToJSON (ConwayContextError era) 
Instance details

Defined in Cardano.Ledger.Conway.TxInfo

Methods

toJSON :: ConwayContextError era -> Value #

toEncoding :: ConwayContextError era -> Encoding #

toJSONList :: [ConwayContextError era] -> Value #

toEncodingList :: [ConwayContextError era] -> Encoding #

omitField :: ConwayContextError era -> Bool #

ToJSON (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: Addr c -> Value #

toEncoding :: Addr c -> Encoding #

toJSONList :: [Addr c] -> Value #

toEncodingList :: [Addr c] -> Encoding #

omitField :: Addr c -> Bool #

Crypto c => ToJSON (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: RewardAcnt c -> Value #

toEncoding :: RewardAcnt c -> Encoding #

toJSONList :: [RewardAcnt c] -> Value #

toEncodingList :: [RewardAcnt c] -> Encoding #

omitField :: RewardAcnt c -> Bool #

Crypto c => ToJSON (AuxiliaryDataHash c) 
Instance details

Defined in Cardano.Ledger.AuxiliaryData

Crypto c => ToJSON (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Anchor c -> Value #

toEncoding :: Anchor c -> Encoding #

toJSONList :: [Anchor c] -> Value #

toEncodingList :: [Anchor c] -> Encoding #

omitField :: Anchor c -> Bool #

Crypto c => ToJSON (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: BlocksMade c -> Value #

toEncoding :: BlocksMade c -> Encoding #

toJSONList :: [BlocksMade c] -> Value #

toEncodingList :: [BlocksMade c] -> Encoding #

omitField :: BlocksMade c -> Bool #

Era era => ToJSON (CertState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: CertState era -> Value #

toEncoding :: CertState era -> Encoding #

toJSONList :: [CertState era] -> Value #

toEncodingList :: [CertState era] -> Encoding #

omitField :: CertState era -> Bool #

Crypto c => ToJSON (CommitteeAuthorization c) 
Instance details

Defined in Cardano.Ledger.CertState

Era era => ToJSON (CommitteeState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: CommitteeState era -> Value #

toEncoding :: CommitteeState era -> Encoding #

toJSONList :: [CommitteeState era] -> Value #

toEncodingList :: [CommitteeState era] -> Encoding #

omitField :: CommitteeState era -> Bool #

Era era => ToJSON (DState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: DState era -> Value #

toEncoding :: DState era -> Encoding #

toJSONList :: [DState era] -> Value #

toEncodingList :: [DState era] -> Encoding #

omitField :: DState era -> Bool #

Crypto c => ToJSON (FutureGenDeleg c) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: FutureGenDeleg c -> Value #

toEncoding :: FutureGenDeleg c -> Encoding #

toJSONList :: [FutureGenDeleg c] -> Value #

toEncodingList :: [FutureGenDeleg c] -> Encoding #

omitField :: FutureGenDeleg c -> Bool #

Crypto c => ToJSON (InstantaneousRewards c) 
Instance details

Defined in Cardano.Ledger.CertState

Era era => ToJSON (PState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: PState era -> Value #

toEncoding :: PState era -> Encoding #

toJSONList :: [PState era] -> Value #

toEncodingList :: [PState era] -> Encoding #

omitField :: PState era -> Bool #

ToJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON (CompactForm DeltaCoin) 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON (PParamsHKD Identity era) => ToJSON (PParams era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

toJSON :: PParams era -> Value #

toEncoding :: PParams era -> Encoding #

toJSONList :: [PParams era] -> Value #

toEncodingList :: [PParams era] -> Encoding #

omitField :: PParams era -> Bool #

ToJSON (PParamsHKD StrictMaybe era) => ToJSON (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

toJSON :: PParamsUpdate era -> Value #

toEncoding :: PParamsUpdate era -> Encoding #

toJSONList :: [PParamsUpdate era] -> Value #

toEncodingList :: [PParamsUpdate era] -> Encoding #

omitField :: PParamsUpdate era -> Bool #

Crypto c => ToJSON (PoolCert c) 
Instance details

Defined in Cardano.Ledger.Core.TxCert

Methods

toJSON :: PoolCert c -> Value #

toEncoding :: PoolCert c -> Encoding #

toJSONList :: [PoolCert c] -> Value #

toEncodingList :: [PoolCert c] -> Encoding #

omitField :: PoolCert c -> Bool #

Crypto c => ToJSON (StakeReference c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: StakeReference c -> Value #

toEncoding :: StakeReference c -> Encoding #

toJSONList :: [StakeReference c] -> Value #

toEncodingList :: [StakeReference c] -> Encoding #

omitField :: StakeReference c -> Bool #

Crypto c => ToJSON (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSON :: DRep c -> Value #

toEncoding :: DRep c -> Encoding #

toJSONList :: [DRep c] -> Value #

toEncodingList :: [DRep c] -> Encoding #

omitField :: DRep c -> Bool #

Crypto c => ToJSON (DRepState c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSON :: DRepState c -> Value #

toEncoding :: DRepState c -> Encoding #

toJSONList :: [DRepState c] -> Value #

toEncodingList :: [DRepState c] -> Encoding #

omitField :: DRepState c -> Bool #

Crypto c => ToJSON (SnapShot c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSON :: SnapShot c -> Value #

toEncoding :: SnapShot c -> Encoding #

toJSONList :: [SnapShot c] -> Value #

toEncodingList :: [SnapShot c] -> Encoding #

omitField :: SnapShot c -> Bool #

Crypto c => ToJSON (SnapShots c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSON :: SnapShots c -> Value #

toEncoding :: SnapShots c -> Encoding #

toJSONList :: [SnapShots c] -> Value #

toEncodingList :: [SnapShots c] -> Encoding #

omitField :: SnapShots c -> Bool #

Crypto c => ToJSON (Stake c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSON :: Stake c -> Value #

toEncoding :: Stake c -> Encoding #

toJSONList :: [Stake c] -> Value #

toEncodingList :: [Stake c] -> Encoding #

omitField :: Stake c -> Bool #

Crypto c => ToJSON (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: ScriptHash c -> Value #

toEncoding :: ScriptHash c -> Encoding #

toJSONList :: [ScriptHash c] -> Value #

toEncodingList :: [ScriptHash c] -> Encoding #

omitField :: ScriptHash c -> Bool #

Crypto c => ToJSON (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

toJSON :: GenDelegPair c -> Value #

toEncoding :: GenDelegPair c -> Encoding #

toJSONList :: [GenDelegPair c] -> Value #

toEncodingList :: [GenDelegPair c] -> Encoding #

omitField :: GenDelegPair c -> Bool #

Crypto c => ToJSON (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

toJSON :: GenDelegs c -> Value #

toEncoding :: GenDelegs c -> Encoding #

toJSONList :: [GenDelegs c] -> Value #

toEncodingList :: [GenDelegs c] -> Encoding #

omitField :: GenDelegs c -> Bool #

Era era => ToJSON (Datum era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Methods

toJSON :: Datum era -> Value #

toEncoding :: Datum era -> Encoding #

toJSONList :: [Datum era] -> Value #

toEncodingList :: [Datum era] -> Encoding #

omitField :: Datum era -> Bool #

ToJSON a => ToJSON (ExUnits' a) 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

toJSON :: ExUnits' a -> Value #

toEncoding :: ExUnits' a -> Encoding #

toJSONList :: [ExUnits' a] -> Value #

toEncodingList :: [ExUnits' a] -> Encoding #

omitField :: ExUnits' a -> Bool #

ToJSON (TxOutSource c) 
Instance details

Defined in Cardano.Ledger.Plutus.TxInfo

Methods

toJSON :: TxOutSource c -> Value #

toEncoding :: TxOutSource c -> Encoding #

toJSONList :: [TxOutSource c] -> Value #

toEncodingList :: [TxOutSource c] -> Encoding #

omitField :: TxOutSource c -> Bool #

Crypto c => ToJSON (IndividualPoolStake c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Crypto c => ToJSON (PoolDistr c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

toJSON :: PoolDistr c -> Value #

toEncoding :: PoolDistr c -> Encoding #

toJSONList :: [PoolDistr c] -> Value #

toEncodingList :: [PoolDistr c] -> Encoding #

omitField :: PoolDistr c -> Bool #

Crypto c => ToJSON (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

toJSON :: PoolParams c -> Value #

toEncoding :: PoolParams c -> Encoding #

toJSONList :: [PoolParams c] -> Value #

toEncodingList :: [PoolParams c] -> Encoding #

omitField :: PoolParams c -> Bool #

Crypto c => ToJSON (Reward c) 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSON :: Reward c -> Value #

toEncoding :: Reward c -> Encoding #

toJSONList :: [Reward c] -> Value #

toEncodingList :: [Reward c] -> Encoding #

omitField :: Reward c -> Bool #

Crypto c => ToJSON (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSON :: TxId c -> Value #

toEncoding :: TxId c -> Encoding #

toJSONList :: [TxId c] -> Value #

toEncodingList :: [TxId c] -> Encoding #

omitField :: TxId c -> Bool #

Crypto c => ToJSON (TxIn c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSON :: TxIn c -> Value #

toEncoding :: TxIn c -> Encoding #

toJSONList :: [TxIn c] -> Value #

toEncodingList :: [TxIn c] -> Encoding #

omitField :: TxIn c -> Bool #

Crypto c => ToJSON (UMElem c) 
Instance details

Defined in Cardano.Ledger.UMap

Methods

toJSON :: UMElem c -> Value #

toEncoding :: UMElem c -> Encoding #

toJSONList :: [UMElem c] -> Value #

toEncodingList :: [UMElem c] -> Encoding #

omitField :: UMElem c -> Bool #

Crypto c => ToJSON (UMap c) 
Instance details

Defined in Cardano.Ledger.UMap

Methods

toJSON :: UMap c -> Value #

toEncoding :: UMap c -> Encoding #

toJSONList :: [UMap c] -> Value #

toEncodingList :: [UMap c] -> Encoding #

omitField :: UMap c -> Bool #

(Era era, ToJSON (TxOut era)) => ToJSON (UTxO era) 
Instance details

Defined in Cardano.Ledger.UTxO

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

omitField :: UTxO era -> Bool #

Crypto c => ToJSON (MaryValue c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: MaryValue c -> Value #

toEncoding :: MaryValue c -> Encoding #

toJSONList :: [MaryValue c] -> Value #

toEncodingList :: [MaryValue c] -> Encoding #

omitField :: MaryValue c -> Bool #

Crypto c => ToJSON (MultiAsset c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: MultiAsset c -> Value #

toEncoding :: MultiAsset c -> Encoding #

toJSONList :: [MultiAsset c] -> Value #

toEncodingList :: [MultiAsset c] -> Encoding #

omitField :: MultiAsset c -> Bool #

Crypto c => ToJSON (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: PolicyID c -> Value #

toEncoding :: PolicyID c -> Encoding #

toJSONList :: [PolicyID c] -> Value #

toEncodingList :: [PolicyID c] -> Encoding #

omitField :: PolicyID c -> Bool #

ToJSON (PredicateFailure (EraRule "LEDGER" ledgerera)) => ToJSON (ApplyTxError ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ApplyTxError ledgerera -> Value #

toEncoding :: ApplyTxError ledgerera -> Encoding #

toJSONList :: [ApplyTxError ledgerera] -> Value #

toEncodingList :: [ApplyTxError ledgerera] -> Encoding #

omitField :: ApplyTxError ledgerera -> Bool #

ToJSON (LegacyJSONPParams c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: LegacyJSONPParams c -> Value #

toEncoding :: LegacyJSONPParams c -> Encoding #

toJSONList :: [LegacyJSONPParams c] -> Value #

toEncodingList :: [LegacyJSONPParams c] -> Encoding #

omitField :: LegacyJSONPParams c -> Bool #

Crypto c => ToJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesis c -> Value #

toEncoding :: ShelleyGenesis c -> Encoding #

toJSONList :: [ShelleyGenesis c] -> Value #

toEncodingList :: [ShelleyGenesis c] -> Encoding #

omitField :: ShelleyGenesis c -> Bool #

Crypto c => ToJSON (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

ToJSON (PParams era) => ToJSON (FuturePParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Methods

toJSON :: FuturePParams era -> Value #

toEncoding :: FuturePParams era -> Encoding #

toJSONList :: [FuturePParams era] -> Value #

toEncodingList :: [FuturePParams era] -> Encoding #

omitField :: FuturePParams era -> Bool #

EraPParams era => ToJSON (ShelleyGovState era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Methods

toJSON :: ShelleyGovState era -> Value #

toEncoding :: ShelleyGovState era -> Encoding #

toJSONList :: [ShelleyGovState era] -> Value #

toEncodingList :: [ShelleyGovState era] -> Encoding #

omitField :: ShelleyGovState era -> Bool #

(EraTxOut era, EraGov era) => ToJSON (EpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: EpochState era -> Value #

toEncoding :: EpochState era -> Encoding #

toJSONList :: [EpochState era] -> Value #

toEncodingList :: [EpochState era] -> Encoding #

omitField :: EpochState era -> Bool #

Crypto c => ToJSON (IncrementalStake c) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: IncrementalStake c -> Value #

toEncoding :: IncrementalStake c -> Encoding #

toJSONList :: [IncrementalStake c] -> Value #

toEncodingList :: [IncrementalStake c] -> Encoding #

omitField :: IncrementalStake c -> Bool #

(EraTxOut era, EraGov era) => ToJSON (LedgerState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: LedgerState era -> Value #

toEncoding :: LedgerState era -> Encoding #

toJSONList :: [LedgerState era] -> Value #

toEncodingList :: [LedgerState era] -> Encoding #

omitField :: LedgerState era -> Bool #

(EraTxOut era, EraGov era) => ToJSON (UTxOState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: UTxOState era -> Value #

toEncoding :: UTxOState era -> Encoding #

toJSONList :: [UTxOState era] -> Value #

toEncodingList :: [UTxOState era] -> Encoding #

omitField :: UTxOState era -> Bool #

EraPParams era => ToJSON (ProposedPPUpdates era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON :: ProposedPPUpdates era -> Value #

toEncoding :: ProposedPPUpdates era -> Encoding #

toJSONList :: [ProposedPPUpdates era] -> Value #

toEncodingList :: [ProposedPPUpdates era] -> Encoding #

omitField :: ProposedPPUpdates era -> Bool #

Crypto crypto => ToJSON (NonMyopic crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: NonMyopic crypto -> Value #

toEncoding :: NonMyopic crypto -> Encoding #

toJSONList :: [NonMyopic crypto] -> Value #

toEncodingList :: [NonMyopic crypto] -> Encoding #

omitField :: NonMyopic crypto -> Bool #

Crypto c => ToJSON (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: RewardProvenance c -> Value #

toEncoding :: RewardProvenance c -> Encoding #

toJSONList :: [RewardProvenance c] -> Value #

toEncodingList :: [RewardProvenance c] -> Encoding #

omitField :: RewardProvenance c -> Bool #

Crypto c => ToJSON (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Crypto c => ToJSON (PulsingRewUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toJSON :: PulsingRewUpdate c -> Value #

toEncoding :: PulsingRewUpdate c -> Encoding #

toJSONList :: [PulsingRewUpdate c] -> Value #

toEncodingList :: [PulsingRewUpdate c] -> Encoding #

omitField :: PulsingRewUpdate c -> Bool #

Crypto c => ToJSON (RewardUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toJSON :: RewardUpdate c -> Value #

toEncoding :: RewardUpdate c -> Encoding #

toJSONList :: [RewardUpdate c] -> Value #

toEncodingList :: [RewardUpdate c] -> Encoding #

omitField :: RewardUpdate c -> Bool #

Show (ShelleyDelegsPredFailure ledgerera) => ToJSON (ShelleyDelegsPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyDelegsPredFailure ledgerera -> Value #

toEncoding :: ShelleyDelegsPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyDelegsPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyDelegsPredFailure ledgerera] -> Encoding #

omitField :: ShelleyDelegsPredFailure ledgerera -> Bool #

(ToJSON (PredicateFailure (EraRule "UTXOW" ledgerera)), ToJSON (PredicateFailure (EraRule "DELEGS" ledgerera))) => ToJSON (ShelleyLedgerPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyLedgerPredFailure ledgerera -> Value #

toEncoding :: ShelleyLedgerPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyLedgerPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyLedgerPredFailure ledgerera] -> Encoding #

omitField :: ShelleyLedgerPredFailure ledgerera -> Bool #

(Crypto (EraCrypto ledgerera), ToJSON (PredicateFailure (EraRule "UTXO" ledgerera))) => ToJSON (ShelleyPpupPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyPpupPredFailure ledgerera -> Value #

toEncoding :: ShelleyPpupPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyPpupPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyPpupPredFailure ledgerera] -> Encoding #

omitField :: ShelleyPpupPredFailure ledgerera -> Bool #

Show (ShelleyUtxoPredFailure ledgerera) => ToJSON (ShelleyUtxoPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyUtxoPredFailure ledgerera -> Value #

toEncoding :: ShelleyUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyUtxoPredFailure ledgerera] -> Encoding #

omitField :: ShelleyUtxoPredFailure ledgerera -> Bool #

(Crypto (EraCrypto ledgerera), ToJSON (PredicateFailure (EraRule "UTXO" ledgerera))) => ToJSON (ShelleyUtxowPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyUtxowPredFailure ledgerera -> Value #

toEncoding :: ShelleyUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyUtxowPredFailure ledgerera] -> Encoding #

omitField :: ShelleyUtxowPredFailure ledgerera -> Bool #

Crypto c => ToJSON (TransitionConfig (ShelleyEra c)) 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

Crypto c => ToJSON (GenesisDelegCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: GenesisDelegCert c -> Value #

toEncoding :: GenesisDelegCert c -> Encoding #

toJSONList :: [GenesisDelegCert c] -> Value #

toEncodingList :: [GenesisDelegCert c] -> Encoding #

omitField :: GenesisDelegCert c -> Bool #

Crypto c => ToJSON (MIRCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: MIRCert c -> Value #

toEncoding :: MIRCert c -> Encoding #

toJSONList :: [MIRCert c] -> Value #

toEncodingList :: [MIRCert c] -> Encoding #

omitField :: MIRCert c -> Bool #

Crypto c => ToJSON (MIRTarget c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: MIRTarget c -> Value #

toEncoding :: MIRTarget c -> Encoding #

toJSONList :: [MIRTarget c] -> Value #

toEncodingList :: [MIRTarget c] -> Encoding #

omitField :: MIRTarget c -> Bool #

Crypto c => ToJSON (ShelleyDelegCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: ShelleyDelegCert c -> Value #

toEncoding :: ShelleyDelegCert c -> Encoding #

toJSONList :: [ShelleyDelegCert c] -> Value #

toEncodingList :: [ShelleyDelegCert c] -> Encoding #

omitField :: ShelleyDelegCert c -> Bool #

Era era => ToJSON (ShelleyTxCert era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: ShelleyTxCert era -> Value #

toEncoding :: ShelleyTxCert era -> Encoding #

toJSONList :: [ShelleyTxCert era] -> Value #

toEncodingList :: [ShelleyTxCert era] -> Encoding #

omitField :: ShelleyTxCert era -> Bool #

(Era era, Val (Value era)) => ToJSON (ShelleyTxOut era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxOut

Methods

toJSON :: ShelleyTxOut era -> Value #

toEncoding :: ShelleyTxOut era -> Encoding #

toJSONList :: [ShelleyTxOut era] -> Value #

toEncodingList :: [ShelleyTxOut era] -> Encoding #

omitField :: ShelleyTxOut era -> Bool #

ToJSON (ChainDepState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Crypto crypto => ToJSON (HashHeader crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: HashHeader crypto -> Value #

toEncoding :: HashHeader crypto -> Encoding #

toJSONList :: [HashHeader crypto] -> Value #

toEncodingList :: [HashHeader crypto] -> Encoding #

omitField :: HashHeader crypto -> Bool #

ToJSON (PrtclState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON a => ToJSON (WithOrigin a) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: WithOrigin a -> Value #

toEncoding :: WithOrigin a -> Encoding #

toJSONList :: [WithOrigin a] -> Value #

toEncodingList :: [WithOrigin a] -> Encoding #

omitField :: WithOrigin a -> Bool #

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 #

omitField :: StrictMaybe a -> Bool #

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 #

omitField :: StrictSeq a -> Bool #

ToJSON a => ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: IntMap a -> Value #

toEncoding :: IntMap a -> Encoding #

toJSONList :: [IntMap a] -> Value #

toEncodingList :: [IntMap a] -> Encoding #

omitField :: IntMap a -> Bool #

ToJSON a => ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Seq a -> Value #

toEncoding :: Seq a -> Encoding #

toJSONList :: [Seq a] -> Value #

toEncodingList :: [Seq a] -> Encoding #

omitField :: Seq a -> Bool #

ToJSON a => ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Set a -> Value #

toEncoding :: Set a -> Encoding #

toJSONList :: [Set a] -> Value #

toEncodingList :: [Set a] -> Encoding #

omitField :: Set a -> Bool #

ToJSON v => ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Tree v -> Value #

toEncoding :: Tree v -> Encoding #

toJSONList :: [Tree v] -> Value #

toEncodingList :: [Tree v] -> Encoding #

omitField :: Tree v -> Bool #

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 #

omitField :: Fix f -> Bool #

(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 #

omitField :: Mu f -> Bool #

(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 #

omitField :: Nu f -> Bool #

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 #

omitField :: DNonEmpty a -> Bool #

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 #

omitField :: DList a -> Bool #

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 #

omitField :: StakeSnapshot crypto -> Bool #

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 #

omitField :: StakeSnapshots crypto -> Bool #

Crypto crypto => ToJSON (ShelleyHash crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyHash crypto -> Value #

toEncoding :: ShelleyHash crypto -> Encoding #

toJSONList :: [ShelleyHash crypto] -> Value #

toEncodingList :: [ShelleyHash crypto] -> Encoding #

omitField :: ShelleyHash crypto -> Bool #

ToJSON (PraosState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON (TPraosState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON (BuiltinCostModelBase MCostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

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 #

omitField :: MCostingFun a -> Bool #

ToJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSON (CekMachineCostsBase Maybe) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSON (Schema referencedTypes) 
Instance details

Defined in PlutusTx.Blueprint.Schema

Methods

toJSON :: Schema referencedTypes -> Value #

toEncoding :: Schema referencedTypes -> Encoding #

toJSONList :: [Schema referencedTypes] -> Value #

toEncodingList :: [Schema referencedTypes] -> Encoding #

omitField :: Schema referencedTypes -> Bool #

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 #

omitField :: Array a -> Bool #

(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 #

omitField :: PrimArray a -> Bool #

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 #

omitField :: SmallArray a -> Bool #

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 #

omitField :: LinearTransform d -> Bool #

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 #

omitField :: Maybe a -> Bool #

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 #

omitField :: HashSet a -> Bool #

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 #

omitField :: Vector a -> Bool #

(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 #

omitField :: Vector a -> Bool #

(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 #

omitField :: Vector a -> Bool #

(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 #

omitField :: Vector a -> Bool #

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 #

omitField :: Maybe a -> Bool #

ToJSON a => ToJSON (Solo a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Solo a -> Value #

toEncoding :: Solo a -> Encoding #

toJSONList :: [Solo a] -> Value #

toEncodingList :: [Solo a] -> Encoding #

omitField :: Solo a -> Bool #

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 #

omitField :: [a] -> Bool #

(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 #

omitField :: Either a b -> Bool #

HasResolution a => ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Fixed a -> Value #

toEncoding :: Fixed a -> Encoding #

toJSONList :: [Fixed a] -> Value #

toEncodingList :: [Fixed a] -> Encoding #

omitField :: Fixed a -> Bool #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Proxy a -> Value #

toEncoding :: Proxy a -> Encoding #

toJSONList :: [Proxy a] -> Value #

toEncodingList :: [Proxy a] -> Encoding #

omitField :: Proxy a -> Bool #

ToJSON (Some Era) Source # 
Instance details

Defined in Cardano.Api.Experimental.Eras

Methods

toJSON :: Some Era -> Value #

toEncoding :: Some Era -> Encoding #

toJSONList :: [Some Era] -> Value #

toEncodingList :: [Some Era] -> Encoding #

omitField :: Some Era -> Bool #

ToJSON (File content direction) Source # 
Instance details

Defined in Cardano.Api.IO.Base

Methods

toJSON :: File content direction -> Value #

toEncoding :: File content direction -> Encoding #

toJSONList :: [File content direction] -> Value #

toEncodingList :: [File content direction] -> Encoding #

omitField :: File content direction -> Bool #

ToJSON (ScriptLanguageInEra lang era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptLanguageInEra lang era -> Value #

toEncoding :: ScriptLanguageInEra lang era -> Encoding #

toJSONList :: [ScriptLanguageInEra lang era] -> Value #

toEncodingList :: [ScriptLanguageInEra lang era] -> Encoding #

omitField :: ScriptLanguageInEra lang era -> Bool #

IsCardanoEra era => ToJSON (TxOut ctx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Body

Methods

toJSON :: TxOut ctx era -> Value #

toEncoding :: TxOut ctx era -> Encoding #

toJSONList :: [TxOut ctx era] -> Value #

toEncodingList :: [TxOut ctx era] -> Encoding #

omitField :: TxOut ctx era -> Bool #

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 #

omitField :: Hash h a -> Bool #

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 #

omitField :: AbstractHash algo a -> Bool #

(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 #

omitField :: ListMap k v -> Bool #

(HasOKey k v, ToJSON v) => ToJSON (OMap k v) 
Instance details

Defined in Data.OMap.Strict

Methods

toJSON :: OMap k v -> Value #

toEncoding :: OMap k v -> Encoding #

toJSONList :: [OMap k v] -> Value #

toEncodingList :: [OMap k v] -> Encoding #

omitField :: OMap k v -> Bool #

Crypto c => ToJSON (AlonzoPParams Identity (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Crypto c => ToJSON (AlonzoPParams StrictMaybe (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

(forall a b. (ToJSON a, ToJSON b) => ToJSON (f a b), ToJSON (TxCert era), Era era) => ToJSON (AlonzoPlutusPurpose f era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSON :: AlonzoPlutusPurpose f era -> Value #

toEncoding :: AlonzoPlutusPurpose f era -> Encoding #

toJSONList :: [AlonzoPlutusPurpose f era] -> Value #

toEncodingList :: [AlonzoPlutusPurpose f era] -> Encoding #

omitField :: AlonzoPlutusPurpose f era -> Bool #

ToJSON it => ToJSON (AsItem ix it) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSON :: AsItem ix it -> Value #

toEncoding :: AsItem ix it -> Encoding #

toJSONList :: [AsItem ix it] -> Value #

toEncodingList :: [AsItem ix it] -> Encoding #

omitField :: AsItem ix it -> Bool #

ToJSON ix => ToJSON (AsIx ix it) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSON :: AsIx ix it -> Value #

toEncoding :: AsIx ix it -> Encoding #

toJSONList :: [AsIx ix it] -> Value #

toEncodingList :: [AsIx ix it] -> Encoding #

omitField :: AsIx ix it -> Bool #

(ToJSON ix, ToJSON it) => ToJSON (AsIxItem ix it) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSON :: AsIxItem ix it -> Value #

toEncoding :: AsIxItem ix it -> Encoding #

toJSONList :: [AsIxItem ix it] -> Value #

toEncodingList :: [AsIxItem ix it] -> Encoding #

omitField :: AsIxItem ix it -> Bool #

(PParamsHKD Identity era ~ BabbagePParams Identity era, BabbageEraPParams era, ProtVerAtMost era 8) => ToJSON (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

(PParamsHKD StrictMaybe era ~ BabbagePParams StrictMaybe era, BabbageEraPParams era, ProtVerAtMost era 8) => ToJSON (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

ToJSON b => ToJSON (Annotated b a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

toJSON :: Annotated b a -> Value #

toEncoding :: Annotated b a -> Encoding #

toJSONList :: [Annotated b a] -> Value #

toEncodingList :: [Annotated b a] -> Encoding #

omitField :: Annotated b a -> Bool #

Era era => ToJSON (GovPurposeId p era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovPurposeId p era -> Value #

toEncoding :: GovPurposeId p era -> Encoding #

toJSONList :: [GovPurposeId p era] -> Value #

toEncodingList :: [GovPurposeId p era] -> Encoding #

omitField :: GovPurposeId p era -> Bool #

(Era era, forall (p :: GovActionPurpose). ToJSON (f (GovPurposeId p era))) => ToJSON (GovRelation f era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovRelation f era -> Value #

toEncoding :: GovRelation f era -> Encoding #

toJSONList :: [GovRelation f era] -> Value #

toEncodingList :: [GovRelation f era] -> Encoding #

omitField :: GovRelation f era -> Bool #

Crypto c => ToJSON (ConwayPParams Identity (ConwayEra c)) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(ConwayEraPParams era, PParamsHKD StrictMaybe era ~ ConwayPParams StrictMaybe era) => ToJSON (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(forall a b. (ToJSON a, ToJSON b) => ToJSON (f a b), ToJSON (TxCert era), EraPParams era) => ToJSON (ConwayPlutusPurpose f era) 
Instance details

Defined in Cardano.Ledger.Conway.Scripts

Methods

toJSON :: ConwayPlutusPurpose f era -> Value #

toEncoding :: ConwayPlutusPurpose f era -> Encoding #

toJSONList :: [ConwayPlutusPurpose f era] -> Value #

toEncodingList :: [ConwayPlutusPurpose f era] -> Encoding #

omitField :: ConwayPlutusPurpose f era -> Bool #

Bounded (BoundedRatio b Word64) => 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 #

omitField :: BoundedRatio b Word64 -> Bool #

ToJSON a => ToJSON (Mismatch r a) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Mismatch r a -> Value #

toEncoding :: Mismatch r a -> Encoding #

toJSONList :: [Mismatch r a] -> Value #

toEncodingList :: [Mismatch r a] -> Encoding #

omitField :: Mismatch r a -> Bool #

Crypto c => ToJSON (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Credential kr c -> Value #

toEncoding :: Credential kr c -> Encoding #

toJSONList :: [Credential kr c] -> Value #

toEncodingList :: [Credential kr c] -> Encoding #

omitField :: Credential kr c -> Bool #

Crypto c => ToJSON (KeyHash disc c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

toJSON :: KeyHash disc c -> Value #

toEncoding :: KeyHash disc c -> Encoding #

toJSONList :: [KeyHash disc c] -> Value #

toEncodingList :: [KeyHash disc c] -> Encoding #

omitField :: KeyHash disc c -> Bool #

Crypto c => ToJSON (VKey 'Witness c) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: VKey 'Witness c -> Value #

toEncoding :: VKey 'Witness c -> Encoding #

toJSONList :: [VKey 'Witness c] -> Value #

toEncodingList :: [VKey 'Witness c] -> Encoding #

omitField :: VKey 'Witness c -> Bool #

Crypto c => ToJSON (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

toJSON :: SafeHash c index -> Value #

toEncoding :: SafeHash c index -> Encoding #

toJSONList :: [SafeHash c index] -> Value #

toEncodingList :: [SafeHash c index] -> Encoding #

omitField :: SafeHash c index -> Bool #

(EraPParams era, PParamsHKD Identity era ~ ShelleyPParams Identity era, ProtVerAtMost era 4, ProtVerAtMost era 6, ProtVerAtMost era 8) => ToJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

(EraPParams era, PParamsHKD StrictMaybe era ~ ShelleyPParams StrictMaybe era, ProtVerAtMost era 4, ProtVerAtMost era 6, ProtVerAtMost era 8) => ToJSON (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

(ToJSON v, ToJSONKey k) => ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Map k v -> Value #

toEncoding :: Map k v -> Encoding #

toJSONList :: [Map k v] -> Value #

toEncodingList :: [Map k v] -> Encoding #

omitField :: Map k v -> Bool #

(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 #

omitField :: MonoidalMap k a -> Bool #

ToJSON (OneEraHash xs) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: OneEraHash xs -> Value #

toEncoding :: OneEraHash xs -> Encoding #

toJSONList :: [OneEraHash xs] -> Value #

toEncodingList :: [OneEraHash xs] -> Encoding #

omitField :: OneEraHash xs -> Bool #

ToJSON (HeaderHash blk) => ToJSON (Tip blk) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Tip blk -> Value #

toEncoding :: Tip blk -> Encoding #

toJSONList :: [Tip blk] -> Value #

toEncodingList :: [Tip blk] -> Encoding #

omitField :: Tip blk -> Bool #

(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 #

omitField :: Either a b -> Bool #

(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 #

omitField :: These a b -> Bool #

(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 #

omitField :: Pair a b -> Bool #

(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 #

omitField :: These a b -> Bool #

(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 #

omitField :: HashMap k v -> Bool #

(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 #

omitField :: (a, b) -> Bool #

ToJSON a => ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Const a b -> Value #

toEncoding :: Const a b -> Encoding #

toJSONList :: [Const a b] -> Value #

toEncodingList :: [Const a b] -> Encoding #

omitField :: Const a b -> Bool #

(Typeable t, ToJSON a) => ToJSON (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: THKD t Identity a -> Value #

toEncoding :: THKD t Identity a -> Encoding #

toJSONList :: [THKD t Identity a] -> Value #

toEncodingList :: [THKD t Identity a] -> Encoding #

omitField :: THKD t Identity a -> Bool #

(Typeable t, ToJSON a) => ToJSON (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: THKD t StrictMaybe a -> Value #

toEncoding :: THKD t StrictMaybe a -> Encoding #

toJSONList :: [THKD t StrictMaybe a] -> Value #

toEncodingList :: [THKD t StrictMaybe a] -> Encoding #

omitField :: THKD t StrictMaybe a -> Bool #

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 #

omitField :: Tagged a b -> Bool #

(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 #

omitField :: These1 f g a -> Bool #

(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 #

omitField :: (a, b, c) -> Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Product f g a -> Value #

toEncoding :: Product f g a -> Encoding #

toJSONList :: [Product f g a] -> Value #

toEncodingList :: [Product f g a] -> Encoding #

omitField :: Product f g a -> Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Sum f g a -> Value #

toEncoding :: Sum f g a -> Encoding #

toJSONList :: [Sum f g a] -> Value #

toEncodingList :: [Sum f g a] -> Encoding #

omitField :: Sum f g a -> Bool #

(Vector vk k, Vector vv v, ToJSONKey k, ToJSON v) => ToJSON (VMap vk vv k v) 
Instance details

Defined in Data.VMap

Methods

toJSON :: VMap vk vv k v -> Value #

toEncoding :: VMap vk vv k v -> Encoding #

toJSONList :: [VMap vk vv k v] -> Value #

toEncodingList :: [VMap vk vv k v] -> Encoding #

omitField :: VMap vk vv k v -> Bool #

(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 #

omitField :: (a, b, c, d) -> Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Compose f g a -> Value #

toEncoding :: Compose f g a -> Encoding #

toJSONList :: [Compose f g a] -> Value #

toEncodingList :: [Compose f g a] -> Encoding #

omitField :: Compose f g a -> Bool #

(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 #

omitField :: (a, b, c, d, e) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i, j) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i, j, k) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool #

(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 #

omitField :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool #

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 ApplicationName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONKey :: ToJSONKeyFunction ApplicationName

toJSONKeyList :: ToJSONKeyFunction [ApplicationName]

ToJSONKey SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSONKey :: ToJSONKeyFunction SystemTag

toJSONKeyList :: ToJSONKeyFunction [SystemTag]

ToJSONKey Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONKey :: ToJSONKeyFunction Ptr

toJSONKeyList :: ToJSONKeyFunction [Ptr]

ToJSONKey Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

toJSONKey :: ToJSONKeyFunction Language

toJSONKeyList :: ToJSONKeyFunction [Language]

ToJSONKey AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

ToJSONKey URI 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction URI

toJSONKeyList :: ToJSONKeyFunction [URI]

ToJSONKey DefinitionId 
Instance details

Defined in PlutusTx.Blueprint.Definition.Id

Methods

toJSONKey :: ToJSONKeyFunction DefinitionId

toJSONKeyList :: ToJSONKeyFunction [DefinitionId]

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 DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

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]

Show a => ToJSONKey (ShowOf a) Source # 
Instance details

Defined in Cardano.Api.Via.ShowOf

Methods

toJSONKey :: ToJSONKeyFunction (ShowOf a)

toJSONKeyList :: ToJSONKeyFunction [ShowOf a]

Crypto c => ToJSONKey (GovActionId c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction (GovActionId c)

toJSONKeyList :: ToJSONKeyFunction [GovActionId c]

Crypto c => ToJSONKey (Voter c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction (Voter c)

toJSONKeyList :: ToJSONKeyFunction [Voter c]

ToJSONKey (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey :: ToJSONKeyFunction (Addr c)

toJSONKeyList :: ToJSONKeyFunction [Addr c]

Crypto c => ToJSONKey (RewardAccount c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey :: ToJSONKeyFunction (RewardAccount c)

toJSONKeyList :: ToJSONKeyFunction [RewardAccount c]

Crypto c => ToJSONKey (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSONKey :: ToJSONKeyFunction (DRep c)

toJSONKeyList :: ToJSONKeyFunction [DRep c]

Crypto c => ToJSONKey (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSONKey :: ToJSONKeyFunction (ScriptHash c)

toJSONKeyList :: ToJSONKeyFunction [ScriptHash c]

Crypto c => ToJSONKey (TxIn c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSONKey :: ToJSONKeyFunction (TxIn c)

toJSONKeyList :: ToJSONKeyFunction [TxIn c]

Crypto c => ToJSONKey (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSONKey :: ToJSONKeyFunction (PolicyID c)

toJSONKeyList :: ToJSONKeyFunction [PolicyID c]

ToJSONKey a => ToJSONKey (Solo a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction (Solo a)

toJSONKeyList :: ToJSONKeyFunction [Solo 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]

Era era => ToJSONKey (GovPurposeId p era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction (GovPurposeId p era)

toJSONKeyList :: ToJSONKeyFunction [GovPurposeId p era]

Crypto c => ToJSONKey (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONKey :: ToJSONKeyFunction (Credential kr c)

toJSONKeyList :: ToJSONKeyFunction [Credential kr c]

Crypto c => ToJSONKey (KeyHash disc c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

toJSONKey :: ToJSONKeyFunction (KeyHash disc c)

toJSONKeyList :: ToJSONKeyFunction [KeyHash disc c]

(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] #

omittedField :: Maybe a #

Instances

Instances details
FromJSON Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Key #

parseJSONList :: Value -> Parser [Key] #

omittedField :: Maybe Key #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DotNetTime #

parseJSONList :: Value -> Parser [DotNetTime] #

omittedField :: Maybe DotNetTime #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Value #

parseJSONList :: Value -> Parser [Value] #

omittedField :: Maybe Value #

FromJSON All 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser All #

parseJSONList :: Value -> Parser [All] #

omittedField :: Maybe All #

FromJSON Any 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Any #

parseJSONList :: Value -> Parser [Any] #

omittedField :: Maybe Any #

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Version #

parseJSONList :: Value -> Parser [Version] #

omittedField :: Maybe Version #

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser CTime #

parseJSONList :: Value -> Parser [CTime] #

omittedField :: Maybe CTime #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Void #

parseJSONList :: Value -> Parser [Void] #

omittedField :: Maybe Void #

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int16 #

parseJSONList :: Value -> Parser [Int16] #

omittedField :: Maybe Int16 #

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int32 #

parseJSONList :: Value -> Parser [Int32] #

omittedField :: Maybe Int32 #

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int64 #

parseJSONList :: Value -> Parser [Int64] #

omittedField :: Maybe Int64 #

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int8 #

parseJSONList :: Value -> Parser [Int8] #

omittedField :: Maybe Int8 #

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word16 #

parseJSONList :: Value -> Parser [Word16] #

omittedField :: Maybe Word16 #

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word32 #

parseJSONList :: Value -> Parser [Word32] #

omittedField :: Maybe Word32 #

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word64 #

parseJSONList :: Value -> Parser [Word64] #

omittedField :: Maybe Word64 #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word8 #

parseJSONList :: Value -> Parser [Word8] #

omittedField :: Maybe Word8 #

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON :: Value -> Parser ByteString64 #

parseJSONList :: Value -> Parser [ByteString64] #

omittedField :: Maybe ByteString64 #

FromJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser StakeAddress #

parseJSONList :: Value -> Parser [StakeAddress] #

omittedField :: Maybe StakeAddress #

FromJSON ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser ChainPoint #

parseJSONList :: Value -> Parser [ChainPoint] #

omittedField :: Maybe ChainPoint #

FromJSON AnyShelleyBasedEra Source # 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

FromJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras.Core

Methods

parseJSON :: Value -> Parser AnyCardanoEra #

parseJSONList :: Value -> Parser [AnyCardanoEra] #

omittedField :: Maybe AnyCardanoEra #

FromJSON NodeConfig Source # 
Instance details

Defined in Cardano.Api.LedgerState

Methods

parseJSON :: Value -> Parser NodeConfig #

parseJSONList :: Value -> Parser [NodeConfig] #

omittedField :: Maybe NodeConfig #

FromJSON CostModels Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser CostModels #

parseJSONList :: Value -> Parser [CostModels] #

omittedField :: Maybe CostModels #

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser PraosNonce #

parseJSONList :: Value -> Parser [PraosNonce] #

omittedField :: Maybe PraosNonce #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON DelegationsAndRewards Source # 
Instance details

Defined in Cardano.Api.Rewards

FromJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

FromJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ExecutionUnits #

parseJSONList :: Value -> Parser [ExecutionUnits] #

omittedField :: Maybe ExecutionUnits #

FromJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ScriptHash #

parseJSONList :: Value -> Parser [ScriptHash] #

omittedField :: Maybe ScriptHash #

FromJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

FromJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser SimpleScript #

parseJSONList :: Value -> Parser [SimpleScript] #

omittedField :: Maybe SimpleScript #

FromJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON :: Value -> Parser TextEnvelope #

parseJSONList :: Value -> Parser [TextEnvelope] #

omittedField :: Maybe TextEnvelope #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

FromJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

omittedField :: Maybe TxId #

FromJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIn #

parseJSONList :: Value -> Parser [TxIn] #

omittedField :: Maybe TxIn #

FromJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIx #

parseJSONList :: Value -> Parser [TxIx] #

omittedField :: Maybe TxIx #

FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser AssetName #

parseJSONList :: Value -> Parser [AssetName] #

omittedField :: Maybe AssetName #

FromJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser PolicyId #

parseJSONList :: Value -> Parser [PolicyId] #

omittedField :: Maybe PolicyId #

FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Quantity #

parseJSONList :: Value -> Parser [Quantity] #

omittedField :: Maybe Quantity #

FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Value #

parseJSONList :: Value -> Parser [Value] #

omittedField :: Maybe Value #

FromJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser ValueNestedRep #

parseJSONList :: Value -> Parser [ValueNestedRep] #

omittedField :: Maybe ValueNestedRep #

FromJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON :: Value -> Parser ProtocolMagic #

parseJSONList :: Value -> Parser [ProtocolMagic] #

omittedField :: Maybe ProtocolMagic #

FromJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

FromJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

FromJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

FromJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

parseJSON :: Value -> Parser AlonzoGenesis #

parseJSONList :: Value -> Parser [AlonzoGenesis] #

omittedField :: Maybe AlonzoGenesis #

FromJSON CoinPerWord 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

parseJSON :: Value -> Parser CoinPerWord #

parseJSONList :: Value -> Parser [CoinPerWord] #

omittedField :: Maybe CoinPerWord #

FromJSON OrdExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

parseJSON :: Value -> Parser OrdExUnits #

parseJSONList :: Value -> Parser [OrdExUnits] #

omittedField :: Maybe OrdExUnits #

FromJSON CoinPerByte 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

parseJSON :: Value -> Parser CoinPerByte #

parseJSONList :: Value -> Parser [CoinPerByte] #

omittedField :: Maybe CoinPerByte #

FromJSON Version 
Instance details

Defined in Cardano.Ledger.Binary.Version

Methods

parseJSON :: Value -> Parser Version #

parseJSONList :: Value -> Parser [Version] #

omittedField :: Maybe Version #

FromJSON DRepVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON PoolVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser DnsName #

parseJSONList :: Value -> Parser [DnsName] #

omittedField :: Maybe DnsName #

FromJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Network #

parseJSONList :: Value -> Parser [Network] #

omittedField :: Maybe Network #

FromJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Nonce #

parseJSONList :: Value -> Parser [Nonce] #

omittedField :: Maybe Nonce #

FromJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Port #

parseJSONList :: Value -> Parser [Port] #

omittedField :: Maybe Port #

FromJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser ProtVer #

parseJSONList :: Value -> Parser [ProtVer] #

omittedField :: Maybe ProtVer #

FromJSON Relation 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Relation #

parseJSONList :: Value -> Parser [Relation] #

omittedField :: Maybe Relation #

FromJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser UnitInterval #

parseJSONList :: Value -> Parser [UnitInterval] #

omittedField :: Maybe UnitInterval #

FromJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Url #

parseJSONList :: Value -> Parser [Url] #

omittedField :: Maybe Url #

FromJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser Coin #

parseJSONList :: Value -> Parser [Coin] #

omittedField :: Maybe Coin #

FromJSON DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser DeltaCoin #

parseJSONList :: Value -> Parser [DeltaCoin] #

omittedField :: Maybe DeltaCoin #

FromJSON CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

parseJSON :: Value -> Parser CostModels #

parseJSONList :: Value -> Parser [CostModels] #

omittedField :: Maybe CostModels #

FromJSON ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser ExUnits #

parseJSONList :: Value -> Parser [ExUnits] #

omittedField :: Maybe ExUnits #

FromJSON Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser Prices #

parseJSONList :: Value -> Parser [Prices] #

omittedField :: Maybe Prices #

FromJSON Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

parseJSON :: Value -> Parser Language #

parseJSONList :: Value -> Parser [Language] #

omittedField :: Maybe Language #

FromJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

parseJSON :: Value -> Parser PoolMetadata #

parseJSONList :: Value -> Parser [PoolMetadata] #

omittedField :: Maybe PoolMetadata #

FromJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

parseJSON :: Value -> Parser StakePoolRelay #

parseJSONList :: Value -> Parser [StakePoolRelay] #

omittedField :: Maybe StakePoolRelay #

FromJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardInfoPool #

parseJSONList :: Value -> Parser [RewardInfoPool] #

omittedField :: Maybe RewardInfoPool #

FromJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardParams #

parseJSONList :: Value -> Parser [RewardParams] #

omittedField :: Maybe RewardParams #

FromJSON NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

FromJSON LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

parseJSON :: Value -> Parser LogWeight #

parseJSONList :: Value -> Parser [LogWeight] #

omittedField :: Maybe LogWeight #

FromJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser Desirability #

parseJSONList :: Value -> Parser [Desirability] #

omittedField :: Maybe Desirability #

FromJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

parseJSON :: Value -> Parser BlockNo #

parseJSONList :: Value -> Parser [BlockNo] #

omittedField :: Maybe BlockNo #

FromJSON EpochInterval 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochInterval #

parseJSONList :: Value -> Parser [EpochInterval] #

omittedField :: Maybe EpochInterval #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo #

parseJSONList :: Value -> Parser [EpochNo] #

omittedField :: Maybe EpochNo #

FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochSize #

parseJSONList :: Value -> Parser [EpochSize] #

omittedField :: Maybe EpochSize #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser SlotNo #

parseJSONList :: Value -> Parser [SlotNo] #

omittedField :: Maybe SlotNo #

FromJSON RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

Methods

parseJSON :: Value -> Parser RelativeTime #

parseJSONList :: Value -> Parser [RelativeTime] #

omittedField :: Maybe RelativeTime #

FromJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

parseJSON :: Value -> Parser SystemStart #

parseJSONList :: Value -> Parser [SystemStart] #

omittedField :: Maybe SystemStart #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser IntSet #

parseJSONList :: Value -> Parser [IntSet] #

omittedField :: Maybe IntSet #

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Ordering #

parseJSONList :: Value -> Parser [Ordering] #

omittedField :: Maybe Ordering #

FromJSON URI 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser URI #

parseJSONList :: Value -> Parser [URI] #

omittedField :: Maybe URI #

FromJSON AccPoolStakeCoded 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

parseJSON :: Value -> Parser AccPoolStakeCoded #

parseJSONList :: Value -> Parser [AccPoolStakeCoded] #

omittedField :: Maybe AccPoolStakeCoded #

FromJSON LedgerPeerSnapshot 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

FromJSON PoolStakeCoded 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

parseJSON :: Value -> Parser PoolStakeCoded #

parseJSONList :: Value -> Parser [PoolStakeCoded] #

omittedField :: Maybe PoolStakeCoded #

FromJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

Methods

parseJSON :: Value -> Parser PeerAdvertise #

parseJSONList :: Value -> Parser [PeerAdvertise] #

omittedField :: Maybe PeerAdvertise #

FromJSON DomainAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON RelayAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

parseJSON :: Value -> Parser ExBudget #

parseJSONList :: Value -> Parser [ExBudget] #

omittedField :: Maybe ExBudget #

FromJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON :: Value -> Parser ExCPU #

parseJSONList :: Value -> Parser [ExCPU] #

omittedField :: Maybe ExCPU #

FromJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON :: Value -> Parser ExMemory #

parseJSONList :: Value -> Parser [ExMemory] #

omittedField :: Maybe ExMemory #

FromJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

parseJSON :: Value -> Parser SatInt #

parseJSONList :: Value -> Parser [SatInt] #

omittedField :: Maybe SatInt #

FromJSON ParamName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

parseJSON :: Value -> Parser ParamName #

parseJSONList :: Value -> Parser [ParamName] #

omittedField :: Maybe ParamName #

FromJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CovLoc #

parseJSONList :: Value -> Parser [CovLoc] #

omittedField :: Maybe CovLoc #

FromJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageData #

parseJSONList :: Value -> Parser [CoverageData] #

omittedField :: Maybe CoverageData #

FromJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageIndex #

parseJSONList :: Value -> Parser [CoverageIndex] #

omittedField :: Maybe CoverageIndex #

FromJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageReport #

parseJSONList :: Value -> Parser [CoverageReport] #

omittedField :: Maybe CoverageReport #

FromJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser Metadata #

parseJSONList :: Value -> Parser [Metadata] #

omittedField :: Maybe Metadata #

FromJSON Rational

This mimics the behaviour of Aeson's instance for Rational.

Instance details

Defined in PlutusTx.Ratio

Methods

parseJSON :: Value -> Parser Rational #

parseJSONList :: Value -> Parser [Rational] #

omittedField :: Maybe Rational #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Scientific #

parseJSONList :: Value -> Parser [Scientific] #

omittedField :: Maybe Scientific #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON :: Value -> Parser StudentT #

parseJSONList :: Value -> Parser [StudentT] #

omittedField :: Maybe StudentT #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Text #

parseJSONList :: Value -> Parser [Text] #

omittedField :: Maybe Text #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Text #

parseJSONList :: Value -> Parser [Text] #

omittedField :: Maybe Text #

FromJSON ShortText 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser ShortText #

parseJSONList :: Value -> Parser [ShortText] #

omittedField :: Maybe ShortText #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Day #

parseJSONList :: Value -> Parser [Day] #

omittedField :: Maybe Day #

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Month #

parseJSONList :: Value -> Parser [Month] #

omittedField :: Maybe Month #

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Quarter #

parseJSONList :: Value -> Parser [Quarter] #

omittedField :: Maybe Quarter #

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser QuarterOfYear #

parseJSONList :: Value -> Parser [QuarterOfYear] #

omittedField :: Maybe QuarterOfYear #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DayOfWeek #

parseJSONList :: Value -> Parser [DayOfWeek] #

omittedField :: Maybe DayOfWeek #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DiffTime #

parseJSONList :: Value -> Parser [DiffTime] #

omittedField :: Maybe DiffTime #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser SystemTime #

parseJSONList :: Value -> Parser [SystemTime] #

omittedField :: Maybe SystemTime #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser UTCTime #

parseJSONList :: Value -> Parser [UTCTime] #

omittedField :: Maybe UTCTime #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser LocalTime #

parseJSONList :: Value -> Parser [LocalTime] #

omittedField :: Maybe LocalTime #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser TimeOfDay #

parseJSONList :: Value -> Parser [TimeOfDay] #

omittedField :: Maybe TimeOfDay #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser ZonedTime #

parseJSONList :: Value -> Parser [ZonedTime] #

omittedField :: Maybe ZonedTime #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser UUID #

parseJSONList :: Value -> Parser [UUID] #

omittedField :: Maybe UUID #

FromJSON Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Integer #

parseJSONList :: Value -> Parser [Integer] #

omittedField :: Maybe Integer #

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Natural #

parseJSONList :: Value -> Parser [Natural] #

omittedField :: Maybe Natural #

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser () #

parseJSONList :: Value -> Parser [()] #

omittedField :: Maybe () #

FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Bool #

parseJSONList :: Value -> Parser [Bool] #

omittedField :: Maybe Bool #

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Char #

parseJSONList :: Value -> Parser [Char] #

omittedField :: Maybe Char #

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Double #

parseJSONList :: Value -> Parser [Double] #

omittedField :: Maybe Double #

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Float #

parseJSONList :: Value -> Parser [Float] #

omittedField :: Maybe Float #

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int #

parseJSONList :: Value -> Parser [Int] #

omittedField :: Maybe Int #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word #

parseJSONList :: Value -> Parser [Word] #

omittedField :: Maybe 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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (Last a) #

FromJSON a => FromJSON (Down a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Down a) #

parseJSONList :: Value -> Parser [Down a] #

omittedField :: Maybe (Down 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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (Dual a) #

FromJSON a => FromJSON (Product a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Product a) #

parseJSONList :: Value -> Parser [Product a] #

omittedField :: Maybe (Product a) #

FromJSON a => FromJSON (Sum a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Sum a) #

parseJSONList :: Value -> Parser [Sum a] #

omittedField :: Maybe (Sum 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] #

omittedField :: Maybe (NonEmpty 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] #

omittedField :: Maybe (Generically 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] #

omittedField :: Maybe (Ratio a) #

FromJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ByronAddr) #

parseJSONList :: Value -> Parser [Address ByronAddr] #

omittedField :: Maybe (Address ByronAddr) #

FromJSON (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ShelleyAddr) #

parseJSONList :: Value -> Parser [Address ShelleyAddr] #

omittedField :: Maybe (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] #

omittedField :: Maybe (AddressInEra era) #

FromJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

omittedField :: Maybe (Hash BlockHeader) #

FromJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash DRepKey) #

parseJSONList :: Value -> Parser [Hash DRepKey] #

omittedField :: Maybe (Hash DRepKey) #

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash GenesisKey) #

parseJSONList :: Value -> Parser [Hash GenesisKey] #

omittedField :: Maybe (Hash GenesisKey) #

FromJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash PaymentKey) #

parseJSONList :: Value -> Parser [Hash PaymentKey] #

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

omittedField :: Maybe (Hash StakePoolKey) #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (UsingRawBytesHex a) #

IsShelleyBasedEra era => FromJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.Tx.Body

Methods

parseJSON :: Value -> Parser (TxOutValue era) #

parseJSONList :: Value -> Parser [TxOutValue era] #

omittedField :: Maybe (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] #

omittedField :: Maybe (RedeemSignature a) #

FromJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

parseJSON :: Value -> Parser (Signature w) #

parseJSONList :: Value -> Parser [Signature w] #

omittedField :: Maybe (Signature w) #

Crypto c => FromJSON (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

parseJSON :: Value -> Parser (ConwayGenesis c) #

parseJSONList :: Value -> Parser [ConwayGenesis c] #

omittedField :: Maybe (ConwayGenesis c) #

Era era => FromJSON (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

parseJSON :: Value -> Parser (Committee era) #

parseJSONList :: Value -> Parser [Committee era] #

omittedField :: Maybe (Committee era) #

Era era => FromJSON (Constitution era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

parseJSON :: Value -> Parser (Constitution era) #

parseJSONList :: Value -> Parser [Constitution era] #

omittedField :: Maybe (Constitution era) #

FromJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Crypto c => FromJSON (Delegatee c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

parseJSON :: Value -> Parser (Delegatee c) #

parseJSONList :: Value -> Parser [Delegatee c] #

omittedField :: Maybe (Delegatee c) #

Crypto c => FromJSON (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser (Addr c) #

parseJSONList :: Value -> Parser [Addr c] #

omittedField :: Maybe (Addr c) #

Crypto c => FromJSON (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser (RewardAcnt c) #

parseJSONList :: Value -> Parser [RewardAcnt c] #

omittedField :: Maybe (RewardAcnt c) #

Crypto c => FromJSON (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser (Anchor c) #

parseJSONList :: Value -> Parser [Anchor c] #

omittedField :: Maybe (Anchor c) #

Crypto c => FromJSON (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser (BlocksMade c) #

parseJSONList :: Value -> Parser [BlocksMade c] #

omittedField :: Maybe (BlocksMade c) #

FromJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser (CompactForm Coin) #

parseJSONList :: Value -> Parser [CompactForm Coin] #

omittedField :: Maybe (CompactForm Coin) #

FromJSON (PParamsHKD Identity era) => FromJSON (PParams era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

parseJSON :: Value -> Parser (PParams era) #

parseJSONList :: Value -> Parser [PParams era] #

omittedField :: Maybe (PParams era) #

FromJSON (PParamsHKD StrictMaybe era) => FromJSON (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

parseJSON :: Value -> Parser (PParamsUpdate era) #

parseJSONList :: Value -> Parser [PParamsUpdate era] #

omittedField :: Maybe (PParamsUpdate era) #

Crypto c => FromJSON (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

parseJSON :: Value -> Parser (DRep c) #

parseJSONList :: Value -> Parser [DRep c] #

omittedField :: Maybe (DRep c) #

Crypto c => FromJSON (DRepState c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

parseJSON :: Value -> Parser (DRepState c) #

parseJSONList :: Value -> Parser [DRepState c] #

omittedField :: Maybe (DRepState c) #

Crypto c => FromJSON (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser (ScriptHash c) #

parseJSONList :: Value -> Parser [ScriptHash c] #

omittedField :: Maybe (ScriptHash c) #

Crypto c => FromJSON (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

parseJSON :: Value -> Parser (GenDelegPair c) #

parseJSONList :: Value -> Parser [GenDelegPair c] #

omittedField :: Maybe (GenDelegPair c) #

Crypto c => FromJSON (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

parseJSON :: Value -> Parser (GenDelegs c) #

parseJSONList :: Value -> Parser [GenDelegs c] #

omittedField :: Maybe (GenDelegs c) #

FromJSON a => FromJSON (ExUnits' a) 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser (ExUnits' a) #

parseJSONList :: Value -> Parser [ExUnits' a] #

omittedField :: Maybe (ExUnits' a) #

Crypto c => FromJSON (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

parseJSON :: Value -> Parser (PoolParams c) #

parseJSONList :: Value -> Parser [PoolParams c] #

omittedField :: Maybe (PoolParams c) #

Crypto c => FromJSON (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

parseJSON :: Value -> Parser (TxId c) #

parseJSONList :: Value -> Parser [TxId c] #

omittedField :: Maybe (TxId c) #

Crypto c => FromJSON (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

parseJSON :: Value -> Parser (PolicyID c) #

parseJSONList :: Value -> Parser [PolicyID c] #

omittedField :: Maybe (PolicyID c) #

FromJSON (LegacyJSONPParams c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser (LegacyJSONPParams c) #

parseJSONList :: Value -> Parser [LegacyJSONPParams c] #

omittedField :: Maybe (LegacyJSONPParams c) #

Crypto c => FromJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser (ShelleyGenesis c) #

parseJSONList :: Value -> Parser [ShelleyGenesis c] #

omittedField :: Maybe (ShelleyGenesis c) #

Crypto c => FromJSON (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c => FromJSON (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser (RewardProvenance c) #

parseJSONList :: Value -> Parser [RewardProvenance c] #

omittedField :: Maybe (RewardProvenance c) #

Crypto c => FromJSON (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Crypto c => FromJSON (TransitionConfig (ShelleyEra c)) 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

FromJSON a => FromJSON (WithOrigin a) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser (WithOrigin a) #

parseJSONList :: Value -> Parser [WithOrigin a] #

omittedField :: Maybe (WithOrigin a) #

FromJSON a => FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

parseJSON :: Value -> Parser (StrictMaybe a) #

parseJSONList :: Value -> Parser [StrictMaybe a] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (DList a) #

FromJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

FromJSON a => FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Array a) #

parseJSONList :: Value -> Parser [Array a] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (Vector 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] #

omittedField :: Maybe (Maybe a) #

FromJSON a => FromJSON (Solo a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Solo a) #

parseJSONList :: Value -> Parser [Solo a] #

omittedField :: Maybe (Solo a) #

FromJSON a => FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser [a] #

parseJSONList :: Value -> Parser [[a]] #

omittedField :: Maybe [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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (Fixed a) #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Proxy a) #

parseJSONList :: Value -> Parser [Proxy a] #

omittedField :: Maybe (Proxy a) #

FromJSON (Some Era) Source # 
Instance details

Defined in Cardano.Api.Experimental.Eras

Methods

parseJSON :: Value -> Parser (Some Era) #

parseJSONList :: Value -> Parser [Some Era] #

omittedField :: Maybe (Some Era) #

FromJSON (File content direction) Source # 
Instance details

Defined in Cardano.Api.IO.Base

Methods

parseJSON :: Value -> Parser (File content direction) #

parseJSONList :: Value -> Parser [File content direction] #

omittedField :: Maybe (File content direction) #

IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Body

Methods

parseJSON :: Value -> Parser (TxOut CtxTx era) #

parseJSONList :: Value -> Parser [TxOut CtxTx era] #

omittedField :: Maybe (TxOut CtxTx era) #

IsShelleyBasedEra era => FromJSON (TxOut CtxUTxO era) Source # 
Instance details

Defined in Cardano.Api.Tx.Body

Methods

parseJSON :: Value -> Parser (TxOut CtxUTxO era) #

parseJSONList :: Value -> Parser [TxOut CtxUTxO era] #

omittedField :: Maybe (TxOut CtxUTxO era) #

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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (AbstractHash algo a) #

(FromJSON v, FromJSON k, 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] #

omittedField :: Maybe (ListMap k v) #

FromJSON (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

parseJSON :: Value -> Parser (AlonzoPParams Identity era) #

parseJSONList :: Value -> Parser [AlonzoPParams Identity era] #

omittedField :: Maybe (AlonzoPParams Identity era) #

FromJSON (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

parseJSON :: Value -> Parser (BabbagePParams Identity era) #

parseJSONList :: Value -> Parser [BabbagePParams Identity era] #

omittedField :: Maybe (BabbagePParams Identity era) #

FromJSON b => FromJSON (Annotated b ()) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

parseJSON :: Value -> Parser (Annotated b ()) #

parseJSONList :: Value -> Parser [Annotated b ()] #

omittedField :: Maybe (Annotated b ()) #

Era era => FromJSON (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

parseJSON :: Value -> Parser (ConwayPParams Identity era) #

parseJSONList :: Value -> Parser [ConwayPParams Identity era] #

omittedField :: Maybe (ConwayPParams Identity era) #

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] #

omittedField :: Maybe (BoundedRatio b Word64) #

FromJSON a => FromJSON (Mismatch r a) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser (Mismatch r a) #

parseJSONList :: Value -> Parser [Mismatch r a] #

omittedField :: Maybe (Mismatch r a) #

Crypto c => FromJSON (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

parseJSON :: Value -> Parser (Credential kr c) #

parseJSONList :: Value -> Parser [Credential kr c] #

omittedField :: Maybe (Credential kr c) #

Crypto c => FromJSON (KeyHash disc c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

parseJSON :: Value -> Parser (KeyHash disc c) #

parseJSONList :: Value -> Parser [KeyHash disc c] #

omittedField :: Maybe (KeyHash disc c) #

Crypto c => FromJSON (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

parseJSON :: Value -> Parser (SafeHash c index) #

parseJSONList :: Value -> Parser [SafeHash c index] #

omittedField :: Maybe (SafeHash c index) #

FromJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

parseJSON :: Value -> Parser (ShelleyPParams Identity era) #

parseJSONList :: Value -> Parser [ShelleyPParams Identity era] #

omittedField :: Maybe (ShelleyPParams Identity era) #

(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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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] #

omittedField :: Maybe (Const a b) #

(Typeable t, FromJSON a) => FromJSON (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

parseJSON :: Value -> Parser (THKD t Identity a) #

parseJSONList :: Value -> Parser [THKD t Identity a] #

omittedField :: Maybe (THKD t Identity a) #

(Typeable t, FromJSON a) => FromJSON (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

parseJSON :: Value -> Parser (THKD t StrictMaybe a) #

parseJSONList :: Value -> Parser [THKD t StrictMaybe a] #

omittedField :: Maybe (THKD t StrictMaybe a) #

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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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] #

omittedField :: Maybe (Sum f g a) #

(Vector vk k, Vector vv v, Ord k, FromJSONKey k, FromJSON v) => FromJSON (VMap vk vv k v) 
Instance details

Defined in Data.VMap

Methods

parseJSON :: Value -> Parser (VMap vk vv k v) #

parseJSONList :: Value -> Parser [VMap vk vv k v] #

omittedField :: Maybe (VMap vk vv k v) #

(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)] #

omittedField :: Maybe (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] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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)] #

omittedField :: Maybe (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 Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

fromJSONKey :: FromJSONKeyFunction Language

fromJSONKeyList :: FromJSONKeyFunction [Language]

FromJSONKey URI 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction URI

fromJSONKeyList :: FromJSONKeyFunction [URI]

FromJSONKey ParamName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

fromJSONKey :: FromJSONKeyFunction ParamName

fromJSONKeyList :: FromJSONKeyFunction [ParamName]

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 c => FromJSONKey (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey :: FromJSONKeyFunction (Addr c)

fromJSONKeyList :: FromJSONKeyFunction [Addr c]

Crypto c => FromJSONKey (RewardAccount c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey :: FromJSONKeyFunction (RewardAccount c)

fromJSONKeyList :: FromJSONKeyFunction [RewardAccount c]

Crypto c => FromJSONKey (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

fromJSONKey :: FromJSONKeyFunction (DRep c)

fromJSONKeyList :: FromJSONKeyFunction [DRep c]

Crypto c => FromJSONKey (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

fromJSONKey :: FromJSONKeyFunction (ScriptHash c)

fromJSONKeyList :: FromJSONKeyFunction [ScriptHash c]

Crypto c => FromJSONKey (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromJSONKey :: FromJSONKeyFunction (PolicyID c)

fromJSONKeyList :: FromJSONKeyFunction [PolicyID c]

FromJSONKey a => FromJSONKey (Solo a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction (Solo a)

fromJSONKeyList :: FromJSONKeyFunction [Solo 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 c => FromJSONKey (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

fromJSONKey :: FromJSONKeyFunction (Credential kr c)

fromJSONKeyList :: FromJSONKeyFunction [Credential kr c]

Crypto c => FromJSONKey (KeyHash disc c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

fromJSONKey :: FromJSONKeyFunction (KeyHash disc c)

fromJSONKeyList :: FromJSONKeyFunction [KeyHash disc c]

(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)]

newtype JsonDecodeError Source #

Constructors

JsonDecodeError String 

Instances

Instances details
Data JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JsonDecodeError -> c JsonDecodeError Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JsonDecodeError Source #

toConstr :: JsonDecodeError -> Constr Source #

dataTypeOf :: JsonDecodeError -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c JsonDecodeError) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JsonDecodeError) Source #

gmapT :: (forall b. Data b => b -> b) -> JsonDecodeError -> JsonDecodeError Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JsonDecodeError -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JsonDecodeError -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> JsonDecodeError -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JsonDecodeError -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JsonDecodeError -> m JsonDecodeError Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JsonDecodeError -> m JsonDecodeError Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JsonDecodeError -> m JsonDecodeError Source #

Show JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Error JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Eq JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON