cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Serialise.Json

Description

JSON serialisation

Synopsis

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: ByteString -> Value #

toEncoding :: ByteString -> Encoding #

toJSONList :: [ByteString] -> Value #

toEncodingList :: [ByteString] -> Encoding #

omitField :: ByteString -> Bool #

ToJSON ChainPointer # 
Instance details

Defined in Cardano.Address

Methods

toJSON :: ChainPointer -> Value #

toEncoding :: ChainPointer -> Encoding #

toJSONList :: [ChainPointer] -> Value #

toEncodingList :: [ChainPointer] -> Encoding #

omitField :: ChainPointer -> Bool #

ToJSON NetworkTag # 
Instance details

Defined in Cardano.Address

Methods

toJSON :: NetworkTag -> Value #

toEncoding :: NetworkTag -> Encoding #

toJSONList :: [NetworkTag] -> Value #

toEncodingList :: [NetworkTag] -> Encoding #

omitField :: NetworkTag -> Bool #

ToJSON KeyHash # 
Instance details

Defined in Cardano.Address.KeyHash

Methods

toJSON :: KeyHash -> Value #

toEncoding :: KeyHash -> Encoding #

toJSONList :: [KeyHash] -> Value #

toEncodingList :: [KeyHash] -> Encoding #

omitField :: KeyHash -> Bool #

ToJSON Cosigner # 
Instance details

Defined in Cardano.Address.Script

Methods

toJSON :: Cosigner -> Value #

toEncoding :: Cosigner -> Encoding #

toJSONList :: [Cosigner] -> Value #

toEncodingList :: [Cosigner] -> Encoding #

omitField :: Cosigner -> Bool #

ToJSON ScriptTemplate # 
Instance details

Defined in Cardano.Address.Script

Methods

toJSON :: ScriptTemplate -> Value #

toEncoding :: ScriptTemplate -> Encoding #

toJSONList :: [ScriptTemplate] -> Value #

toEncodingList :: [ScriptTemplate] -> Encoding #

omitField :: ScriptTemplate -> Bool #

ToJSON AddressInfo # 
Instance details

Defined in Cardano.Address.Style.Byron

Methods

toJSON :: AddressInfo -> Value #

toEncoding :: AddressInfo -> Encoding #

toJSONList :: [AddressInfo] -> Value #

toEncodingList :: [AddressInfo] -> Encoding #

omitField :: AddressInfo -> Bool #

ToJSON ErrInspectAddress # 
Instance details

Defined in Cardano.Address.Style.Byron

Methods

toJSON :: ErrInspectAddress -> Value #

toEncoding :: ErrInspectAddress -> Encoding #

toJSONList :: [ErrInspectAddress] -> Value #

toEncodingList :: [ErrInspectAddress] -> Encoding #

omitField :: ErrInspectAddress -> Bool #

ToJSON PayloadInfo # 
Instance details

Defined in Cardano.Address.Style.Byron

Methods

toJSON :: PayloadInfo -> Value #

toEncoding :: PayloadInfo -> Encoding #

toJSONList :: [PayloadInfo] -> Value #

toEncodingList :: [PayloadInfo] -> Encoding #

omitField :: PayloadInfo -> Bool #

ToJSON AddressInfo # 
Instance details

Defined in Cardano.Address.Style.Icarus

Methods

toJSON :: AddressInfo -> Value #

toEncoding :: AddressInfo -> Encoding #

toJSONList :: [AddressInfo] -> Value #

toEncodingList :: [AddressInfo] -> Encoding #

omitField :: AddressInfo -> Bool #

ToJSON ErrInspectAddress # 
Instance details

Defined in Cardano.Address.Style.Icarus

Methods

toJSON :: ErrInspectAddress -> Value #

toEncoding :: ErrInspectAddress -> Encoding #

toJSONList :: [ErrInspectAddress] -> Value #

toEncodingList :: [ErrInspectAddress] -> Encoding #

omitField :: ErrInspectAddress -> Bool #

ToJSON AddressInfo # 
Instance details

Defined in Cardano.Address.Style.Shelley

Methods

toJSON :: AddressInfo -> Value #

toEncoding :: AddressInfo -> Encoding #

toJSONList :: [AddressInfo] -> Value #

toEncodingList :: [AddressInfo] -> Encoding #

omitField :: AddressInfo -> Bool #

ToJSON ErrInspectAddress # 
Instance details

Defined in Cardano.Address.Style.Shelley

Methods

toJSON :: ErrInspectAddress -> Value #

toEncoding :: ErrInspectAddress -> Encoding #

toJSONList :: [ErrInspectAddress] -> Value #

toEncodingList :: [ErrInspectAddress] -> Encoding #

omitField :: ErrInspectAddress -> Bool #

ToJSON ErrInspectAddressOnlyShelley # 
Instance details

Defined in Cardano.Address.Style.Shelley

Methods

toJSON :: ErrInspectAddressOnlyShelley -> Value #

toEncoding :: ErrInspectAddressOnlyShelley -> Encoding #

toJSONList :: [ErrInspectAddressOnlyShelley] -> Value #

toEncodingList :: [ErrInspectAddressOnlyShelley] -> Encoding #

omitField :: ErrInspectAddressOnlyShelley -> Bool #

ToJSON InspectAddress # 
Instance details

Defined in Cardano.Address.Style.Shelley

Methods

toJSON :: InspectAddress -> Value #

toEncoding :: InspectAddress -> Encoding #

toJSONList :: [InspectAddress] -> Value #

toEncodingList :: [InspectAddress] -> Encoding #

omitField :: InspectAddress -> 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 TxValidationErrorInCardanoMode Source # 
Instance details

Defined in Cardano.Api.Consensus.Internal.InMode

ToJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Methods

toJSON :: AnyCardanoEra -> Value #

toEncoding :: AnyCardanoEra -> Encoding #

toJSONList :: [AnyCardanoEra] -> Value #

toEncodingList :: [AnyCardanoEra] -> Encoding #

omitField :: AnyCardanoEra -> Bool #

ToJSON AnyShelleyBasedEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Eon.ShelleyBasedEra

ToJSON LocalTxMonitoringResult Source # 
Instance details

Defined in Cardano.Api.Network.IPC.Internal

ToJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

ToJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

ToJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.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.Plutus.Internal.Script

ToJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Methods

toJSON :: SimpleScript -> Value #

toEncoding :: SimpleScript -> Encoding #

toJSONList :: [SimpleScript] -> Value #

toEncodingList :: [SimpleScript] -> Encoding #

omitField :: SimpleScript -> Bool #

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

Defined in Cardano.Api.Query.Internal.Type.DelegationsAndRewards

ToJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

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.Serialise.TextEnvelope.Internal

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

ToJSON ScriptWitnessIndex Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.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.Tx.Internal.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.Tx.Internal.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.Internal

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.Internal

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.Internal

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.Internal

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.Internal

ToJSON CardanoFeatureFlag Source # 
Instance details

Defined in Cardano.Base.FeatureFlags

ToJSON IPv4 Source # 
Instance details

Defined in Cardano.Base.IP

Methods

toJSON :: IPv4 -> Value #

toEncoding :: IPv4 -> Encoding #

toJSONList :: [IPv4] -> Value #

toEncodingList :: [IPv4] -> Encoding #

omitField :: IPv4 -> Bool #

ToJSON IPv6 Source # 
Instance details

Defined in Cardano.Base.IP

Methods

toJSON :: IPv6 -> Value #

toEncoding :: IPv6 -> Encoding #

toJSONList :: [IPv6] -> Value #

toEncodingList :: [IPv6] -> Encoding #

omitField :: IPv6 -> Bool #

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

Defined in Cardano.Crypto.ProtocolMagic

ToJSON RequiresNetworkMagic Source # 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

ToJSON CompactRedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

ToJSON RedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

ToJSON VerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

ToJSON UseBootstrapPeers # 
Instance details

Defined in Cardano.Network.PeerSelection.Bootstrap

ToJSON ValidityInterval Source # 
Instance details

Defined in Cardano.Ledger.Allegra.Scripts

ToJSON AlonzoExtraConfig Source # 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

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

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

ToJSON TagMismatchDescription Source # 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

ToJSON IsValid Source # 
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 StakeSnapshot Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: StakeSnapshot -> Value #

toEncoding :: StakeSnapshot -> Encoding #

toJSONList :: [StakeSnapshot] -> Value #

toEncodingList :: [StakeSnapshot] -> Encoding #

omitField :: StakeSnapshot -> Bool #

ToJSON StakeSnapshots Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON CommitteeMemberState Source # 
Instance details

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

ToJSON CommitteeMembersState Source # 
Instance details

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

ToJSON HotCredAuthStatus Source # 
Instance details

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

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

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

ToJSON ByteSpan Source # 
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 Source # 
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 Source # 
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.Internal.Orphans.Serialisation

ToJSON AddrAttributes Source # 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

ToJSON HDAddressPayload Source # 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

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

Defined in Cardano.Chain.Common.Attributes

ToJSON ChainDifficulty Source # 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

ToJSON KeyHash Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: KeyHash -> Value #

toEncoding :: KeyHash -> Encoding #

toJSONList :: [KeyHash] -> Value #

toEncodingList :: [KeyHash] -> Encoding #

omitField :: KeyHash -> Bool #

ToJSON Lovelace Source # 
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.Internal.Orphans.Serialisation

Methods

toJSON :: LovelaceError -> Value #

toEncoding :: LovelaceError -> Encoding #

toJSONList :: [LovelaceError] -> Value #

toEncodingList :: [LovelaceError] -> Encoding #

omitField :: LovelaceError -> Bool #

ToJSON LovelacePortion Source # 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

ToJSON NetworkMagic Source # 
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 Source # 
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 Source # 
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.Internal.Orphans.Serialisation

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON GenesisHash Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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.Internal.Orphans.Serialisation

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.Internal.Orphans.Serialisation

ToJSON UTxOValidationError Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON ApplicationName Source # 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

ToJSON ApplicationNameError Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

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

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

ToJSON ProtocolVersion Source # 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

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

Defined in Cardano.Chain.Update.SoftwareVersion

ToJSON SoftwareVersionError Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON SystemTag Source # 
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.Internal.Orphans.Serialisation

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

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.Internal.Orphans.Serialisation

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.Internal.Orphans.Serialisation

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.Internal.Orphans.Serialisation

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

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.Internal.Orphans.Serialisation

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON ConwayGenesis Source # 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

toJSON :: ConwayGenesis -> Value #

toEncoding :: ConwayGenesis -> Encoding #

toJSONList :: [ConwayGenesis] -> Value #

toEncodingList :: [ConwayGenesis] -> Encoding #

omitField :: ConwayGenesis -> Bool #

ToJSON GovActionId Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionId -> Value #

toEncoding :: GovActionId -> Encoding #

toJSONList :: [GovActionId] -> Value #

toEncodingList :: [GovActionId] -> Encoding #

omitField :: GovActionId -> Bool #

ToJSON GovActionIx Source # 
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 Source # 
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 Voter Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Voter -> Value #

toEncoding :: Voter -> Encoding #

toJSONList :: [Voter] -> Value #

toEncodingList :: [Voter] -> Encoding #

omitField :: Voter -> Bool #

ToJSON DRepVotingThresholds Source # 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON PoolVotingThresholds Source # 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON ConwayDelegCert Source # 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

ToJSON ConwayGovCert Source # 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

toJSON :: ConwayGovCert -> Value #

toEncoding :: ConwayGovCert -> Encoding #

toJSONList :: [ConwayGovCert] -> Value #

toEncodingList :: [ConwayGovCert] -> Encoding #

omitField :: ConwayGovCert -> Bool #

ToJSON Delegatee Source # 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

toJSON :: Delegatee -> Value #

toEncoding :: Delegatee -> Encoding #

toJSONList :: [Delegatee] -> Value #

toEncodingList :: [Delegatee] -> Encoding #

omitField :: Delegatee -> Bool #

ToJSON AccountAddress Source # 
Instance details

Defined in Cardano.Ledger.Address

ToJSON AccountId Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: AccountId -> Value #

toEncoding :: AccountId -> Encoding #

toJSONList :: [AccountId] -> Value #

toEncodingList :: [AccountId] -> Encoding #

omitField :: AccountId -> Bool #

ToJSON Addr Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: Addr -> Value #

toEncoding :: Addr -> Encoding #

toJSONList :: [Addr] -> Value #

toEncodingList :: [Addr] -> Encoding #

omitField :: Addr -> Bool #

ToJSON Withdrawals Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: Withdrawals -> Value #

toEncoding :: Withdrawals -> Encoding #

toJSONList :: [Withdrawals] -> Value #

toEncodingList :: [Withdrawals] -> Encoding #

omitField :: Withdrawals -> Bool #

ToJSON Anchor Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Anchor -> Value #

toEncoding :: Anchor -> Encoding #

toJSONList :: [Anchor] -> Value #

toEncodingList :: [Anchor] -> Encoding #

omitField :: Anchor -> Bool #

ToJSON BlocksMade Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: BlocksMade -> Value #

toEncoding :: BlocksMade -> Encoding #

toJSONList :: [BlocksMade] -> Value #

toEncodingList :: [BlocksMade] -> Encoding #

omitField :: BlocksMade -> Bool #

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

Defined in Cardano.Ledger.BaseTypes

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

Defined in Cardano.Ledger.BaseTypes

ToJSON PositiveUnitInterval Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON ProtVer Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: ProtVer -> Value #

toEncoding :: ProtVer -> Encoding #

toJSONList :: [ProtVer] -> Value #

toEncodingList :: [ProtVer] -> Encoding #

omitField :: ProtVer -> Bool #

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

Defined in Cardano.Ledger.Coin

Methods

toJSON :: Coin -> Value #

toEncoding :: Coin -> Encoding #

toJSONList :: [Coin] -> Value #

toEncodingList :: [Coin] -> Encoding #

omitField :: Coin -> Bool #

ToJSON CoinPerByte Source # 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: CoinPerByte -> Value #

toEncoding :: CoinPerByte -> Encoding #

toJSONList :: [CoinPerByte] -> Value #

toEncodingList :: [CoinPerByte] -> Encoding #

omitField :: CoinPerByte -> Bool #

ToJSON DeltaCoin Source # 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: DeltaCoin -> Value #

toEncoding :: DeltaCoin -> Encoding #

toJSONList :: [DeltaCoin] -> Value #

toEncodingList :: [DeltaCoin] -> Encoding #

omitField :: DeltaCoin -> Bool #

ToJSON PoolCert Source # 
Instance details

Defined in Cardano.Ledger.Core.TxCert

Methods

toJSON :: PoolCert -> Value #

toEncoding :: PoolCert -> Encoding #

toJSONList :: [PoolCert] -> Value #

toEncodingList :: [PoolCert] -> Encoding #

omitField :: PoolCert -> Bool #

ToJSON Ptr Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Ptr -> Value #

toEncoding :: Ptr -> Encoding #

toJSONList :: [Ptr] -> Value #

toEncodingList :: [Ptr] -> Encoding #

omitField :: Ptr -> Bool #

ToJSON SlotNo32 Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: SlotNo32 -> Value #

toEncoding :: SlotNo32 -> Encoding #

toJSONList :: [SlotNo32] -> Value #

toEncodingList :: [SlotNo32] -> Encoding #

omitField :: SlotNo32 -> Bool #

ToJSON StakeReference Source # 
Instance details

Defined in Cardano.Ledger.Credential

ToJSON DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSON :: DRep -> Value #

toEncoding :: DRep -> Encoding #

toJSONList :: [DRep] -> Value #

toEncodingList :: [DRep] -> Encoding #

omitField :: DRep -> Bool #

ToJSON DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSON :: DRepState -> Value #

toEncoding :: DRepState -> Encoding #

toJSONList :: [DRepState] -> Value #

toEncodingList :: [DRepState] -> Encoding #

omitField :: DRepState -> Bool #

ToJSON GenDelegPair Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: GenDelegPair -> Value #

toEncoding :: GenDelegPair -> Encoding #

toJSONList :: [GenDelegPair] -> Value #

toEncodingList :: [GenDelegPair] -> Encoding #

omitField :: GenDelegPair -> Bool #

ToJSON GenDelegs Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: GenDelegs -> Value #

toEncoding :: GenDelegs -> Encoding #

toJSONList :: [GenDelegs] -> Value #

toEncodingList :: [GenDelegs] -> Encoding #

omitField :: GenDelegs -> Bool #

ToJSON HashHeader Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: HashHeader -> Value #

toEncoding :: HashHeader -> Encoding #

toJSONList :: [HashHeader] -> Value #

toEncodingList :: [HashHeader] -> Encoding #

omitField :: HashHeader -> Bool #

ToJSON ScriptHash Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: ScriptHash -> Value #

toEncoding :: ScriptHash -> Encoding #

toJSONList :: [ScriptHash] -> Value #

toEncodingList :: [ScriptHash] -> Encoding #

omitField :: ScriptHash -> Bool #

ToJSON TxAuxDataHash Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: TxAuxDataHash -> Value #

toEncoding :: TxAuxDataHash -> Encoding #

toJSONList :: [TxAuxDataHash] -> Value #

toEncodingList :: [TxAuxDataHash] -> Encoding #

omitField :: TxAuxDataHash -> Bool #

ToJSON CostModel Source # 
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 Source # 
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 Source # 
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 Source # 
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 Source # 
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 TxOutSource Source # 
Instance details

Defined in Cardano.Ledger.Plutus.TxInfo

Methods

toJSON :: TxOutSource -> Value #

toEncoding :: TxOutSource -> Encoding #

toJSONList :: [TxOutSource] -> Value #

toEncodingList :: [TxOutSource] -> Encoding #

omitField :: TxOutSource -> Bool #

ToJSON Reward Source # 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSON :: Reward -> Value #

toEncoding :: Reward -> Encoding #

toJSONList :: [Reward] -> Value #

toEncodingList :: [Reward] -> Encoding #

omitField :: Reward -> Bool #

ToJSON RewardType Source # 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSON :: RewardType -> Value #

toEncoding :: RewardType -> Encoding #

toJSONList :: [RewardType] -> Value #

toEncodingList :: [RewardType] -> Encoding #

omitField :: RewardType -> Bool #

ToJSON CommitteeAuthorization Source # 
Instance details

Defined in Cardano.Ledger.State.CertState

ToJSON FutureGenDeleg Source # 
Instance details

Defined in Cardano.Ledger.State.CertState

ToJSON InstantaneousRewards Source # 
Instance details

Defined in Cardano.Ledger.State.CertState

ToJSON ChainAccountState Source # 
Instance details

Defined in Cardano.Ledger.State.ChainAccount

ToJSON IndividualPoolStake Source # 
Instance details

Defined in Cardano.Ledger.State.PoolDistr

ToJSON PoolDistr Source # 
Instance details

Defined in Cardano.Ledger.State.PoolDistr

Methods

toJSON :: PoolDistr -> Value #

toEncoding :: PoolDistr -> Encoding #

toJSONList :: [PoolDistr] -> Value #

toEncodingList :: [PoolDistr] -> Encoding #

omitField :: PoolDistr -> Bool #

ToJSON SnapShot Source # 
Instance details

Defined in Cardano.Ledger.State.SnapShots

Methods

toJSON :: SnapShot -> Value #

toEncoding :: SnapShot -> Encoding #

toJSONList :: [SnapShot] -> Value #

toEncodingList :: [SnapShot] -> Encoding #

omitField :: SnapShot -> Bool #

ToJSON SnapShots Source # 
Instance details

Defined in Cardano.Ledger.State.SnapShots

Methods

toJSON :: SnapShots -> Value #

toEncoding :: SnapShots -> Encoding #

toJSONList :: [SnapShots] -> Value #

toEncodingList :: [SnapShots] -> Encoding #

omitField :: SnapShots -> Bool #

ToJSON StakePoolSnapShot Source # 
Instance details

Defined in Cardano.Ledger.State.SnapShots

ToJSON ActiveStake Source # 
Instance details

Defined in Cardano.Ledger.State.Stake

Methods

toJSON :: ActiveStake -> Value #

toEncoding :: ActiveStake -> Encoding #

toJSONList :: [ActiveStake] -> Value #

toEncodingList :: [ActiveStake] -> Encoding #

omitField :: ActiveStake -> Bool #

ToJSON Stake Source # 
Instance details

Defined in Cardano.Ledger.State.Stake

Methods

toJSON :: Stake -> Value #

toEncoding :: Stake -> Encoding #

toJSONList :: [Stake] -> Value #

toEncodingList :: [Stake] -> Encoding #

omitField :: Stake -> Bool #

ToJSON StakeWithDelegation Source # 
Instance details

Defined in Cardano.Ledger.State.Stake

ToJSON PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

toJSON :: PoolMetadata -> Value #

toEncoding :: PoolMetadata -> Encoding #

toJSONList :: [PoolMetadata] -> Value #

toEncodingList :: [PoolMetadata] -> Encoding #

omitField :: PoolMetadata -> Bool #

ToJSON StakePoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

ToJSON StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

ToJSON StakePoolState Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

ToJSON TxId Source # 
Instance details

Defined in Cardano.Ledger.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.Ledger.TxIn

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

omitField :: TxIn -> Bool #

ToJSON DijkstraGenesis Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.Genesis

ToJSON DijkstraDelegCert Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxCert

ToJSON AssetName Source # 
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 MaryValue Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: MaryValue -> Value #

toEncoding :: MaryValue -> Encoding #

toJSONList :: [MaryValue] -> Value #

toEncodingList :: [MaryValue] -> Encoding #

omitField :: MaryValue -> Bool #

ToJSON MultiAsset Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: MultiAsset -> Value #

toEncoding :: MultiAsset -> Encoding #

toJSONList :: [MultiAsset] -> Value #

toEncodingList :: [MultiAsset] -> Encoding #

omitField :: MultiAsset -> Bool #

ToJSON PolicyID Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: PolicyID -> Value #

toEncoding :: PolicyID -> Encoding #

toJSONList :: [PolicyID] -> Value #

toEncodingList :: [PolicyID] -> Encoding #

omitField :: PolicyID -> Bool #

ToJSON RewardInfoPool Source # 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

ToJSON RewardParams Source # 
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 LegacyJSONPParams Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: LegacyJSONPParams -> Value #

toEncoding :: LegacyJSONPParams -> Encoding #

toJSONList :: [LegacyJSONPParams] -> Value #

toEncodingList :: [LegacyJSONPParams] -> Encoding #

omitField :: LegacyJSONPParams -> Bool #

ToJSON NominalDiffTimeMicro Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

ToJSON ShelleyGenesis Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

ToJSON ShelleyGenesisStaking Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

ToJSON Likelihood Source # 
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 Source # 
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 NonMyopic Source # 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: NonMyopic -> Value #

toEncoding :: NonMyopic -> Encoding #

toJSONList :: [NonMyopic] -> Value #

toEncodingList :: [NonMyopic] -> Encoding #

omitField :: NonMyopic -> Bool #

ToJSON Desirability Source # 
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 RewardProvenance Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

ToJSON RewardProvenancePool Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

ToJSON PulsingRewUpdate Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

ToJSON RewardUpdate Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toJSON :: RewardUpdate -> Value #

toEncoding :: RewardUpdate -> Encoding #

toJSONList :: [RewardUpdate] -> Value #

toEncodingList :: [RewardUpdate] -> Encoding #

omitField :: RewardUpdate -> Bool #

ToJSON VotingPeriod Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: VotingPeriod -> Value #

toEncoding :: VotingPeriod -> Encoding #

toJSONList :: [VotingPeriod] -> Value #

toEncodingList :: [VotingPeriod] -> Encoding #

omitField :: VotingPeriod -> Bool #

ToJSON FromByronTranslationContext Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Translation

ToJSON GenesisDelegCert Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

ToJSON MIRCert Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: MIRCert -> Value #

toEncoding :: MIRCert -> Encoding #

toJSONList :: [MIRCert] -> Value #

toEncodingList :: [MIRCert] -> Encoding #

omitField :: MIRCert -> Bool #

ToJSON MIRPot Source # 
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 MIRTarget Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Methods

toJSON :: MIRTarget -> Value #

toEncoding :: MIRTarget -> Encoding #

toJSONList :: [MIRTarget] -> Value #

toEncodingList :: [MIRTarget] -> Encoding #

omitField :: MIRTarget -> Bool #

ToJSON ShelleyDelegCert Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

ToJSON ChainDepState Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: ChainDepState -> Value #

toEncoding :: ChainDepState -> Encoding #

toJSONList :: [ChainDepState] -> Value #

toEncodingList :: [ChainDepState] -> Encoding #

omitField :: ChainDepState -> Bool #

ToJSON PrtclState Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: PrtclState -> Value #

toEncoding :: PrtclState -> Encoding #

toJSONList :: [PrtclState] -> Value #

toEncodingList :: [PrtclState] -> Encoding #

omitField :: PrtclState -> Bool #

ToJSON TicknState Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: TicknState -> Value #

toEncoding :: TicknState -> Encoding #

toJSONList :: [TicknState] -> Value #

toEncodingList :: [TicknState] -> Encoding #

omitField :: TicknState -> Bool #

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

Defined in Cardano.Slotting.Time

Methods

toJSON :: SystemStart -> Value #

toEncoding :: SystemStart -> Encoding #

toJSONList :: [SystemStart] -> Value #

toEncodingList :: [SystemStart] -> Encoding #

omitField :: SystemStart -> Bool #

ToJSON DeserialiseFailure # 
Instance details

Defined in Cardano.Address.Internal

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

Defined in Cardano.Crypto.Orphans

Methods

toJSON :: PublicKey -> Value #

toEncoding :: PublicKey -> Encoding #

toJSONList :: [PublicKey] -> Value #

toEncodingList :: [PublicKey] -> Encoding #

omitField :: PublicKey -> Bool #

ToJSON Signature Source # 
Instance details

Defined in Cardano.Crypto.Orphans

Methods

toJSON :: Signature -> Value #

toEncoding :: Signature -> Encoding #

toJSONList :: [Signature] -> Value #

toEncodingList :: [Signature] -> Encoding #

omitField :: Signature -> 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 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 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 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 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 IPv4 Source # 
Instance details

Defined in Cardano.Ledger.Orphans

Methods

toJSON :: IPv4 -> Value #

toEncoding :: IPv4 -> Encoding #

toJSONList :: [IPv4] -> Value #

toEncodingList :: [IPv4] -> Encoding #

omitField :: IPv4 -> Bool #

ToJSON IPv6 Source # 
Instance details

Defined in Cardano.Ledger.Orphans

Methods

toJSON :: IPv6 -> Value #

toEncoding :: IPv6 -> Encoding #

toJSONList :: [IPv6] -> Value #

toEncodingList :: [IPv6] -> Encoding #

omitField :: IPv6 -> 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 SnapshotBackend Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

ToJSON SnapshotMetadata Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

ToJSON TablesCodecVersion Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

ToJSON ByronHash Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: ByronHash -> Value #

toEncoding :: ByronHash -> Encoding #

toJSONList :: [ByronHash] -> Value #

toEncodingList :: [ByronHash] -> Encoding #

omitField :: ByronHash -> Bool #

ToJSON ShelleyHash # 
Instance details

Defined in Ouroboros.Consensus.Shelley.Protocol.Abstract

Methods

toJSON :: ShelleyHash -> Value #

toEncoding :: ShelleyHash -> Encoding #

toJSONList :: [ShelleyHash] -> Value #

toEncodingList :: [ShelleyHash] -> Encoding #

omitField :: ShelleyHash -> Bool #

ToJSON PraosState Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: PraosState -> Value #

toEncoding :: PraosState -> Encoding #

toJSONList :: [PraosState] -> Value #

toEncodingList :: [PraosState] -> Encoding #

omitField :: PraosState -> Bool #

ToJSON TPraosState Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: TPraosState -> Value #

toEncoding :: TPraosState -> Encoding #

toJSONList :: [TPraosState] -> Value #

toEncodingList :: [TPraosState] -> Encoding #

omitField :: TPraosState -> Bool #

ToJSON AccPoolStake # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

toJSON :: AccPoolStake -> Value #

toEncoding :: AccPoolStake -> Encoding #

toJSONList :: [AccPoolStake] -> Value #

toEncodingList :: [AccPoolStake] -> Encoding #

omitField :: AccPoolStake -> Bool #

ToJSON PoolStake # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

toJSON :: PoolStake -> Value #

toEncoding :: PoolStake -> Encoding #

toJSONList :: [PoolStake] -> Value #

toEncodingList :: [PoolStake] -> Encoding #

omitField :: PoolStake -> Bool #

ToJSON RawBlockHash # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

toJSON :: RawBlockHash -> Value #

toEncoding :: RawBlockHash -> Encoding #

toJSONList :: [RawBlockHash] -> Value #

toEncodingList :: [RawBlockHash] -> Encoding #

omitField :: RawBlockHash -> 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 LedgerRelayAccessPoint # 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

ToJSON RelayAccessPoint # 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

ToJSON SizeInBytes # 
Instance details

Defined in Ouroboros.Network.SizeInBytes

Methods

toJSON :: SizeInBytes -> Value #

toEncoding :: SizeInBytes -> Encoding #

toJSONList :: [SizeInBytes] -> Value #

toEncodingList :: [SizeInBytes] -> Encoding #

omitField :: SizeInBytes -> Bool #

ToJSON Coefficient0 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient0 -> Value #

toEncoding :: Coefficient0 -> Encoding #

toJSONList :: [Coefficient0] -> Value #

toEncodingList :: [Coefficient0] -> Encoding #

omitField :: Coefficient0 -> Bool #

ToJSON Coefficient00 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient00 -> Value #

toEncoding :: Coefficient00 -> Encoding #

toJSONList :: [Coefficient00] -> Value #

toEncodingList :: [Coefficient00] -> Encoding #

omitField :: Coefficient00 -> Bool #

ToJSON Coefficient01 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient01 -> Value #

toEncoding :: Coefficient01 -> Encoding #

toJSONList :: [Coefficient01] -> Value #

toEncodingList :: [Coefficient01] -> Encoding #

omitField :: Coefficient01 -> Bool #

ToJSON Coefficient02 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient02 -> Value #

toEncoding :: Coefficient02 -> Encoding #

toJSONList :: [Coefficient02] -> Value #

toEncodingList :: [Coefficient02] -> Encoding #

omitField :: Coefficient02 -> Bool #

ToJSON Coefficient1 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient1 -> Value #

toEncoding :: Coefficient1 -> Encoding #

toJSONList :: [Coefficient1] -> Value #

toEncodingList :: [Coefficient1] -> Encoding #

omitField :: Coefficient1 -> Bool #

ToJSON Coefficient10 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient10 -> Value #

toEncoding :: Coefficient10 -> Encoding #

toJSONList :: [Coefficient10] -> Value #

toEncodingList :: [Coefficient10] -> Encoding #

omitField :: Coefficient10 -> Bool #

ToJSON Coefficient11 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient11 -> Value #

toEncoding :: Coefficient11 -> Encoding #

toJSONList :: [Coefficient11] -> Value #

toEncodingList :: [Coefficient11] -> Encoding #

omitField :: Coefficient11 -> Bool #

ToJSON Coefficient12 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient12 -> Value #

toEncoding :: Coefficient12 -> Encoding #

toJSONList :: [Coefficient12] -> Value #

toEncodingList :: [Coefficient12] -> Encoding #

omitField :: Coefficient12 -> Bool #

ToJSON Coefficient2 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient2 -> Value #

toEncoding :: Coefficient2 -> Encoding #

toJSONList :: [Coefficient2] -> Value #

toEncodingList :: [Coefficient2] -> Encoding #

omitField :: Coefficient2 -> Bool #

ToJSON Coefficient20 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Coefficient20 -> Value #

toEncoding :: Coefficient20 -> Encoding #

toJSONList :: [Coefficient20] -> Value #

toEncodingList :: [Coefficient20] -> Encoding #

omitField :: Coefficient20 -> Bool #

ToJSON ExpModCostingFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON Intercept Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Intercept -> Value #

toEncoding :: Intercept -> Encoding #

toJSONList :: [Intercept] -> Value #

toEncodingList :: [Intercept] -> Encoding #

omitField :: Intercept -> Bool #

ToJSON ModelConstantOrLinear Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelConstantOrOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelConstantOrTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelFiveArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelFourArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelSixArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelSubtractedSizes Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelThreeArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON ModelTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON OneVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON OneVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON Slope Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: Slope -> Value #

toEncoding :: Slope -> Encoding #

toJSONList :: [Slope] -> Value #

toEncodingList :: [Slope] -> Encoding #

omitField :: Slope -> Bool #

ToJSON TwoVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON TwoVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

ToJSON TwoVariableWithInteractionFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

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

Defined in PlutusTx.Blueprint.Schema.Annotation

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

Defined in PlutusTx.Coverage

Methods

toJSON :: CovLoc -> Value #

toEncoding :: CovLoc -> Encoding #

toJSONList :: [CovLoc] -> Value #

toEncodingList :: [CovLoc] -> Encoding #

omitField :: CovLoc -> Bool #

ToJSON CoverageAnnotation Source # 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageData Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageData -> Value #

toEncoding :: CoverageData -> Encoding #

toJSONList :: [CoverageData] -> Value #

toEncodingList :: [CoverageData] -> Encoding #

omitField :: CoverageData -> Bool #

ToJSON CoverageIndex Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageIndex -> Value #

toEncoding :: CoverageIndex -> Encoding #

toJSONList :: [CoverageIndex] -> Value #

toEncodingList :: [CoverageIndex] -> Encoding #

omitField :: CoverageIndex -> Bool #

ToJSON CoverageMetadata Source # 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageReport Source # 
Instance details

Defined in PlutusTx.Coverage

ToJSON Metadata Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: Metadata -> Value #

toEncoding :: Metadata -> Encoding #

toJSONList :: [Metadata] -> Value #

toEncodingList :: [Metadata] -> Encoding #

omitField :: Metadata -> Bool #

ToJSON Rational Source #

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

(Exception e, Generic e, GToJSON Zero (Rep e)) => ToJSON (WithErrorMessage e) # 
Instance details

Defined in Cardano.Address.Internal

Methods

toJSON :: WithErrorMessage e -> Value #

toEncoding :: WithErrorMessage e -> Encoding #

toJSONList :: [WithErrorMessage e] -> Value #

toEncodingList :: [WithErrorMessage e] -> Encoding #

omitField :: WithErrorMessage e -> Bool #

ToJSON elem => ToJSON (Script elem) # 
Instance details

Defined in Cardano.Address.Script

Methods

toJSON :: Script elem -> Value #

toEncoding :: Script elem -> Encoding #

toJSONList :: [Script elem] -> Value #

toEncodingList :: [Script elem] -> Encoding #

omitField :: Script elem -> 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 (TxValidationError era) Source # 
Instance details

Defined in Cardano.Api.Consensus.Internal.InMode

Methods

toJSON :: TxValidationError era -> Value #

toEncoding :: TxValidationError era -> Encoding #

toJSONList :: [TxValidationError era] -> Value #

toEncodingList :: [TxValidationError era] -> Encoding #

omitField :: TxValidationError era -> Bool #

ToJSON (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Methods

toJSON :: CardanoEra era -> Value #

toEncoding :: CardanoEra era -> Encoding #

toJSONList :: [CardanoEra era] -> Value #

toEncodingList :: [CardanoEra era] -> Encoding #

omitField :: CardanoEra era -> Bool #

ToJSON (ShelleyBasedEra era) Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Eon.ShelleyBasedEra

Methods

toJSON :: ShelleyBasedEra era -> Value #

toEncoding :: ShelleyBasedEra era -> Encoding #

toJSONList :: [ShelleyBasedEra era] -> Value #

toEncodingList :: [ShelleyBasedEra era] -> Encoding #

omitField :: ShelleyBasedEra era -> Bool #

ToJSON (Era era) Source # 
Instance details

Defined in Cardano.Api.Experimental.Era

Methods

toJSON :: Era era -> Value #

toEncoding :: Era era -> Encoding #

toJSONList :: [Era era] -> Value #

toEncodingList :: [Era era] -> Encoding #

omitField :: Era era -> Bool #

ToJSON (TxOut AllegraEra) Source # 
Instance details

Defined in Cardano.Api.Experimental.Tx.Internal.BodyContent.New

ToJSON (TxOut AlonzoEra) Source #

Note: Unlike the legacy API's TxOut, this instance does not render supplemental datums. At the ledger level, a supplemental datum is not stored in the TxOut — only its hash is. The full datum lives in the transaction witness set (TxDats). The legacy API bundled the full datum into TxOut for convenience, but since this type wraps the ledger's TxOut directly, supplemental datums are indistinguishable from hash-only datums here.

Instance details

Defined in Cardano.Api.Experimental.Tx.Internal.BodyContent.New

Methods

toJSON :: TxOut AlonzoEra -> Value #

toEncoding :: TxOut AlonzoEra -> Encoding #

toJSONList :: [TxOut AlonzoEra] -> Value #

toEncodingList :: [TxOut AlonzoEra] -> Encoding #

omitField :: TxOut AlonzoEra -> Bool #

ToJSON (TxOut BabbageEra) Source # 
Instance details

Defined in Cardano.Api.Experimental.Tx.Internal.BodyContent.New

ToJSON (TxOut ConwayEra) Source # 
Instance details

Defined in Cardano.Api.Experimental.Tx.Internal.BodyContent.New

Methods

toJSON :: TxOut ConwayEra -> Value #

toEncoding :: TxOut ConwayEra -> Encoding #

toJSONList :: [TxOut ConwayEra] -> Value #

toEncodingList :: [TxOut ConwayEra] -> Encoding #

omitField :: TxOut ConwayEra -> Bool #

ToJSON (TxOut MaryEra) Source # 
Instance details

Defined in Cardano.Api.Experimental.Tx.Internal.BodyContent.New

Methods

toJSON :: TxOut MaryEra -> Value #

toEncoding :: TxOut MaryEra -> Encoding #

toJSONList :: [TxOut MaryEra] -> Value #

toEncodingList :: [TxOut MaryEra] -> Encoding #

omitField :: TxOut MaryEra -> Bool #

ToJSON (TxOut ShelleyEra) Source #

Pre-Alonzo eras have no datums or reference scripts, so the JSON output is just address and value.

Instance details

Defined in Cardano.Api.Experimental.Tx.Internal.BodyContent.New

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

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.Key.Internal

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.Key.Internal

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

omitField :: Hash ScriptData -> Bool #

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

Defined in Cardano.Api.Plutus.Internal.Script

Methods

toJSON :: ReferenceScript era -> Value #

toEncoding :: ReferenceScript era -> Encoding #

toJSONList :: [ReferenceScript era] -> Value #

toEncodingList :: [ReferenceScript era] -> Encoding #

omitField :: ReferenceScript era -> Bool #

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

Defined in Cardano.Api.Pretty.Internal.ShowOf

Methods

toJSON :: ShowOf a -> Value #

toEncoding :: ShowOf a -> Encoding #

toJSONList :: [ShowOf a] -> Value #

toEncodingList :: [ShowOf a] -> Encoding #

omitField :: ShowOf a -> Bool #

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

Defined in Cardano.Api.Query.Internal.Type.DebugLedgerState

Methods

toJSON :: DebugLedgerState era -> Value #

toEncoding :: DebugLedgerState era -> Encoding #

toJSONList :: [DebugLedgerState era] -> Value #

toEncodingList :: [DebugLedgerState era] -> Encoding #

omitField :: DebugLedgerState era -> Bool #

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

Defined in Cardano.Api.Serialise.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.Serialise.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.Internal.Output

Methods

toJSON :: TxOutValue era -> Value #

toEncoding :: TxOutValue era -> Encoding #

toJSONList :: [TxOutValue era] -> Value #

toEncodingList :: [TxOutValue era] -> Encoding #

omitField :: TxOutValue era -> Bool #

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

Defined in Cardano.Api.UTxO

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

omitField :: UTxO era -> Bool #

ToJSON a => ToJSON (RedeemSignature a) Source # 
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) Source # 
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) Source # 
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 #

ToJSON v => ToJSON (NonEmptySet v) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: NonEmptySet v -> Value #

toEncoding :: NonEmptySet v -> Encoding #

toJSONList :: [NonEmptySet v] -> Value #

toEncodingList :: [NonEmptySet v] -> Encoding #

omitField :: NonEmptySet v -> Bool #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

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) Source # 
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 #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: AlonzoUtxoPredFailure ledgerera -> Value #

toEncoding :: AlonzoUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [AlonzoUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [AlonzoUtxoPredFailure ledgerera] -> Encoding #

omitField :: AlonzoUtxoPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

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) Source # 
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) Source # 
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 #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: BabbageUtxoPredFailure ledgerera -> Value #

toEncoding :: BabbageUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [BabbageUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [BabbageUtxoPredFailure ledgerera] -> Encoding #

omitField :: BabbageUtxoPredFailure ledgerera -> Bool #

(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.Internal.Orphans.Serialisation

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) Source # 
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, Val (Value era), ToJSON (Script era)) => ToJSON (BabbageTxOut era) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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) Source # 
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.Internal.Orphans.Serialisation

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) Source # 
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 #

(ConwayEraAccounts era, EraPParams era, EraStake era) => ToJSON (ConwayGovState era) Source # 
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) Source # 
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) Source # 
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) Source # 
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 #

ToJSON (Committee era) Source # 
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 #

ToJSON (Constitution era) Source # 
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) Source # 
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 #

EraPParams era => ToJSON (GovActionState era) Source # 
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 #

ToJSON (GovPurposeId p) Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovPurposeId p -> Value #

toEncoding :: GovPurposeId p -> Encoding #

toJSONList :: [GovPurposeId p] -> Value #

toEncodingList :: [GovPurposeId p] -> Encoding #

omitField :: GovPurposeId p -> Bool #

(forall (p :: GovActionPurpose). ToJSON (f (GovPurposeId p))) => ToJSON (GovRelation f) Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovRelation f -> Value #

toEncoding :: GovRelation f -> Encoding #

toJSONList :: [GovRelation f] -> Value #

toEncodingList :: [GovRelation f] -> Encoding #

omitField :: GovRelation f -> Bool #

EraPParams era => ToJSON (ProposalProcedure era) Source # 
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 #

EraPParams era => ToJSON (VotingProcedure era) Source # 
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) Source # 
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) Source # 
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) Source # 
Instance details

Defined in Cardano.Ledger.Conway.PParams

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: ConwayLedgerPredFailure ledgerera -> Value #

toEncoding :: ConwayLedgerPredFailure ledgerera -> Encoding #

toJSONList :: [ConwayLedgerPredFailure ledgerera] -> Value #

toEncodingList :: [ConwayLedgerPredFailure ledgerera] -> Encoding #

omitField :: ConwayLedgerPredFailure ledgerera -> Bool #

ToJSON (ConwayAccountState era) Source # 
Instance details

Defined in Cardano.Ledger.Conway.State.Account

Methods

toJSON :: ConwayAccountState era -> Value #

toEncoding :: ConwayAccountState era -> Encoding #

toJSONList :: [ConwayAccountState era] -> Value #

toEncodingList :: [ConwayAccountState era] -> Encoding #

omitField :: ConwayAccountState era -> Bool #

ToJSON (ConwayAccounts era) Source # 
Instance details

Defined in Cardano.Ledger.Conway.State.Account

Methods

toJSON :: ConwayAccounts era -> Value #

toEncoding :: ConwayAccounts era -> Encoding #

toJSONList :: [ConwayAccounts era] -> Value #

toEncodingList :: [ConwayAccounts era] -> Encoding #

omitField :: ConwayAccounts era -> Bool #

ToJSON (Accounts era) => ToJSON (ConwayCertState era) Source # 
Instance details

Defined in Cardano.Ledger.Conway.State.CertState

Methods

toJSON :: ConwayCertState era -> Value #

toEncoding :: ConwayCertState era -> Encoding #

toJSONList :: [ConwayCertState era] -> Value #

toEncodingList :: [ConwayCertState era] -> Encoding #

omitField :: ConwayCertState era -> Bool #

ToJSON (ConwayInstantStake era) Source # 
Instance details

Defined in Cardano.Ledger.Conway.State.Stake

Methods

toJSON :: ConwayInstantStake era -> Value #

toEncoding :: ConwayInstantStake era -> Encoding #

toJSONList :: [ConwayInstantStake era] -> Value #

toEncodingList :: [ConwayInstantStake era] -> Encoding #

omitField :: ConwayInstantStake era -> Bool #

ToJSON (VState era) Source # 
Instance details

Defined in Cardano.Ledger.Conway.State.VState

Methods

toJSON :: VState era -> Value #

toEncoding :: VState era -> Encoding #

toJSONList :: [VState era] -> Value #

toEncodingList :: [VState era] -> Encoding #

omitField :: VState era -> Bool #

Era era => ToJSON (ConwayTxCert era) Source # 
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 #

(ToJSON (TxCert era), ToJSON (PlutusPurpose AsIx era), ToJSON (PlutusPurpose AsItem era), EraPParams era) => ToJSON (ConwayContextError era) Source # 
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 #

ToKeyValuePairs a => ToJSON (KeyValuePairs a) Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: KeyValuePairs a -> Value #

toEncoding :: KeyValuePairs a -> Encoding #

toJSONList :: [KeyValuePairs a] -> Value #

toEncodingList :: [KeyValuePairs a] -> Encoding #

omitField :: KeyValuePairs a -> Bool #

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

Defined in Cardano.Ledger.BaseTypes.NonZero

Methods

toJSON :: NonZero a -> Value #

toEncoding :: NonZero a -> Encoding #

toJSONList :: [NonZero a] -> Value #

toEncodingList :: [NonZero a] -> Encoding #

omitField :: NonZero a -> Bool #

ToJSON (CompactForm Coin) Source # 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON (CompactForm DeltaCoin) Source # 
Instance details

Defined in Cardano.Ledger.Coin

EraPParams era => ToJSON (PParams era) Source # 
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 #

EraPParams era => ToJSON (PParamsUpdate era) Source # 
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 #

ToJSON (Credential kr) Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Credential kr -> Value #

toEncoding :: Credential kr -> Encoding #

toJSONList :: [Credential kr] -> Value #

toEncodingList :: [Credential kr] -> Encoding #

omitField :: Credential kr -> Bool #

ToJSON (NoGenesis era) Source # 
Instance details

Defined in Cardano.Ledger.Genesis

Methods

toJSON :: NoGenesis era -> Value #

toEncoding :: NoGenesis era -> Encoding #

toJSONList :: [NoGenesis era] -> Value #

toEncodingList :: [NoGenesis era] -> Encoding #

omitField :: NoGenesis era -> Bool #

ToJSON (KeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: KeyHash r -> Value #

toEncoding :: KeyHash r -> Encoding #

toJSONList :: [KeyHash r] -> Value #

toEncodingList :: [KeyHash r] -> Encoding #

omitField :: KeyHash r -> Bool #

ToJSON (SafeHash i) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: SafeHash i -> Value #

toEncoding :: SafeHash i -> Encoding #

toJSONList :: [SafeHash i] -> Value #

toEncodingList :: [SafeHash i] -> Encoding #

omitField :: SafeHash i -> Bool #

ToJSON (VRFVerKeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: VRFVerKeyHash r -> Value #

toEncoding :: VRFVerKeyHash r -> Encoding #

toJSONList :: [VRFVerKeyHash r] -> Value #

toEncodingList :: [VRFVerKeyHash r] -> Encoding #

omitField :: VRFVerKeyHash r -> Bool #

ToJSON (VKey 'Witness) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: VKey 'Witness -> Value #

toEncoding :: VKey 'Witness -> Encoding #

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

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

omitField :: VKey 'Witness -> Bool #

Era era => ToJSON (Datum era) Source # 
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) Source # 
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 (CommitteeState era) Source # 
Instance details

Defined in Cardano.Ledger.State.CertState

Methods

toJSON :: CommitteeState era -> Value #

toEncoding :: CommitteeState era -> Encoding #

toJSONList :: [CommitteeState era] -> Value #

toEncodingList :: [CommitteeState era] -> Encoding #

omitField :: CommitteeState era -> Bool #

ToJSON (Accounts era) => ToJSON (DState era) Source # 
Instance details

Defined in Cardano.Ledger.State.CertState

Methods

toJSON :: DState era -> Value #

toEncoding :: DState era -> Encoding #

toJSONList :: [DState era] -> Value #

toEncodingList :: [DState era] -> Encoding #

omitField :: DState era -> Bool #

ToJSON (PState era) Source # 
Instance details

Defined in Cardano.Ledger.State.CertState

Methods

toJSON :: PState era -> Value #

toEncoding :: PState era -> Encoding #

toJSONList :: [PState era] -> Value #

toEncodingList :: [PState era] -> Encoding #

omitField :: PState era -> Bool #

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

Defined in Cardano.Ledger.State.Governance

Methods

toJSON :: FuturePParams era -> Value #

toEncoding :: FuturePParams era -> Encoding #

toJSONList :: [FuturePParams era] -> Value #

toEncodingList :: [FuturePParams era] -> Encoding #

omitField :: FuturePParams era -> Bool #

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

Defined in Cardano.Ledger.State.UTxO

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

omitField :: UTxO era -> Bool #

Era era => ToJSON (DijkstraTxCert era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxCert

Methods

toJSON :: DijkstraTxCert era -> Value #

toEncoding :: DijkstraTxCert era -> Encoding #

toJSONList :: [DijkstraTxCert era] -> Value #

toEncodingList :: [DijkstraTxCert era] -> Encoding #

omitField :: DijkstraTxCert era -> Bool #

(ToJSON (TxCert era), ToJSON (PlutusPurpose AsIx era), ToJSON (PlutusPurpose AsItem era), ToJSON (TxOut era), EraPParams era) => ToJSON (DijkstraContextError era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.TxInfo

ToJSON (ApplyTxError AllegraEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON (ApplyTxError AlonzoEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON (ApplyTxError BabbageEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON (ApplyTxError ConwayEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON (ApplyTxError DijkstraEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON (ApplyTxError MaryEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

ToJSON (ApplyTxError ShelleyEra) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

EraPParams era => ToJSON (ShelleyGovState era) Source # 
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, EraStake era, EraCertState era) => ToJSON (EpochState era) Source # 
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 #

(EraTxOut era, EraGov era, EraStake era, EraCertState era) => ToJSON (LedgerState era) Source # 
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, EraStake era) => ToJSON (UTxOState era) Source # 
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) Source # 
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 #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

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 (NonEmptyMap AccountAddress (Mismatch 'RelEQ Coin))) => ToJSON (ShelleyLedgerPredFailure ledgerera) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: ShelleyLedgerPredFailure ledgerera -> Value #

toEncoding :: ShelleyLedgerPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyLedgerPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyLedgerPredFailure ledgerera] -> Encoding #

omitField :: ShelleyLedgerPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

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.Internal.Orphans.Serialisation

Methods

toJSON :: ShelleyUtxoPredFailure ledgerera -> Value #

toEncoding :: ShelleyUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyUtxoPredFailure ledgerera] -> Encoding #

omitField :: ShelleyUtxoPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: ShelleyUtxowPredFailure ledgerera -> Value #

toEncoding :: ShelleyUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyUtxowPredFailure ledgerera] -> Encoding #

omitField :: ShelleyUtxowPredFailure ledgerera -> Bool #

ToJSON (ShelleyAccountState era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.State.Account

Methods

toJSON :: ShelleyAccountState era -> Value #

toEncoding :: ShelleyAccountState era -> Encoding #

toJSONList :: [ShelleyAccountState era] -> Value #

toEncodingList :: [ShelleyAccountState era] -> Encoding #

omitField :: ShelleyAccountState era -> Bool #

ToJSON (ShelleyAccounts era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.State.Account

Methods

toJSON :: ShelleyAccounts era -> Value #

toEncoding :: ShelleyAccounts era -> Encoding #

toJSONList :: [ShelleyAccounts era] -> Value #

toEncodingList :: [ShelleyAccounts era] -> Encoding #

omitField :: ShelleyAccounts era -> Bool #

ToJSON (Accounts era) => ToJSON (ShelleyCertState era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.State.CertState

Methods

toJSON :: ShelleyCertState era -> Value #

toEncoding :: ShelleyCertState era -> Encoding #

toJSONList :: [ShelleyCertState era] -> Value #

toEncodingList :: [ShelleyCertState era] -> Encoding #

omitField :: ShelleyCertState era -> Bool #

ToJSON (ShelleyInstantStake era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.State.Stake

Methods

toJSON :: ShelleyInstantStake era -> Value #

toEncoding :: ShelleyInstantStake era -> Encoding #

toJSONList :: [ShelleyInstantStake era] -> Value #

toEncodingList :: [ShelleyInstantStake era] -> Encoding #

omitField :: ShelleyInstantStake era -> Bool #

ToKeyValuePairs (TransitionConfig era) => ToJSON (TransitionConfig era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

Methods

toJSON :: TransitionConfig era -> Value #

toEncoding :: TransitionConfig era -> Encoding #

toJSONList :: [TransitionConfig era] -> Value #

toEncodingList :: [TransitionConfig era] -> Encoding #

omitField :: TransitionConfig era -> Bool #

Era era => ToJSON (ShelleyTxCert era) Source # 
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) Source # 
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 a => ToJSON (WithOrigin a) Source # 
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) Source # 
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) Source # 
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 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 #

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

(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 a => ToJSON (NESeq a) # 
Instance details

Defined in Data.Sequence.NonEmpty.Internal

Methods

toJSON :: NESeq a -> Value #

toEncoding :: NESeq a -> Encoding #

toJSONList :: [NESeq a] -> Value #

toEncodingList :: [NESeq a] -> Encoding #

omitField :: NESeq a -> Bool #

ToJSON (LedgerPeerSnapshot a) # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

ToJSON (BuiltinCostModelBase MCostingFun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON (BuiltinCostModelBase CostingFun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON a => ToJSON (MCostingFun a) Source # 
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 model => ToJSON (CostingFun model) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

toJSON :: CostingFun model -> Value #

toEncoding :: CostingFun model -> Encoding #

toJSONList :: [CostingFun model] -> Value #

toEncodingList :: [CostingFun model] -> Encoding #

omitField :: CostingFun model -> Bool #

ToJSON (CekMachineCostsBase Identity) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSON (CekMachineCostsBase Maybe) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSON (Schema referencedTypes) Source # 
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 #

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 (Some Era) Source # 
Instance details

Defined in Cardano.Api.Experimental.Era

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.Internal.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.Plutus.Internal.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.Internal.Output

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) Source # 
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) Source # 
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) Source # 
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 #

(ToJSONKey k, ToJSON v) => ToJSON (NonEmptyMap k v) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: NonEmptyMap k v -> Value #

toEncoding :: NonEmptyMap k v -> Encoding #

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

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

omitField :: NonEmptyMap k v -> Bool #

(HasOKey k v, ToJSON v) => ToJSON (OMap k v) Source # 
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 #

ToJSON (AlonzoContextError era) Source # 
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 #

(forall a b. (ToJSON a, ToJSON b) => ToJSON (f a b), ToJSON (TxCert era), Era era) => ToJSON (AlonzoPlutusPurpose f era) Source # 
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) Source # 
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) Source # 
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) Source # 
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 #

ToJSON b => ToJSON (Annotated b a) Source # 
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 #

(forall a b. (ToJSON a, ToJSON b) => ToJSON (f a b), ToJSON (TxCert era), EraPParams era) => ToJSON (ConwayPlutusPurpose f era) Source # 
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 #

ToJSON a => ToJSON (Mismatch r a) Source # 
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 #

ToJSON (UpgradeDijkstraPParams Identity era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.PParams

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

Defined in Cardano.Ledger.Dijkstra.Scripts

Methods

toJSON :: DijkstraPlutusPurpose f era -> Value #

toEncoding :: DijkstraPlutusPurpose f era -> Encoding #

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

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

omitField :: DijkstraPlutusPurpose f era -> Bool #

(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, 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 (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 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.Internal.Orphans.Serialisation

Methods

toJSON :: OneEraHash xs -> Value #

toEncoding :: OneEraHash xs -> Encoding #

toJSONList :: [OneEraHash xs] -> Value #

toEncodingList :: [OneEraHash xs] -> Encoding #

omitField :: OneEraHash xs -> Bool #

ToJSON (Block SlotNo (HeaderHash block)) => ToJSON (Point block) # 
Instance details

Defined in Ouroboros.Network.Block

Methods

toJSON :: Point block -> Value #

toEncoding :: Point block -> Encoding #

toJSONList :: [Point block] -> Value #

toEncodingList :: [Point block] -> Encoding #

omitField :: Point block -> Bool #

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

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: Tip blk -> Value #

toEncoding :: Tip blk -> Encoding #

toJSONList :: [Tip blk] -> Value #

toEncodingList :: [Tip blk] -> Encoding #

omitField :: Tip blk -> Bool #

(ToJSON slot, ToJSON hash) => ToJSON (Block slot hash) # 
Instance details

Defined in Ouroboros.Network.Point

Methods

toJSON :: Block slot hash -> Value #

toEncoding :: Block slot hash -> Encoding #

toJSONList :: [Block slot hash] -> Value #

toEncodingList :: [Block slot hash] -> Encoding #

omitField :: Block slot hash -> 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 #

(Typeable t, ToJSON a) => ToJSON (THKD t StrictMaybe a) Source # 
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 #

(Typeable t, ToJSON a) => ToJSON (THKD t Identity a) Source # 
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 #

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

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) Source # 
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 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.Plutus.Internal.Script

Methods

toJSONKey :: ToJSONKeyFunction AnyPlutusScriptVersion

toJSONKeyList :: ToJSONKeyFunction [AnyPlutusScriptVersion]

ToJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxId

toJSONKeyList :: ToJSONKeyFunction [TxId]

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxIn

toJSONKeyList :: ToJSONKeyFunction [TxIn]

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

ToJSONKey CompactRedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

toJSONKey :: ToJSONKeyFunction CompactRedeemVerificationKey

toJSONKeyList :: ToJSONKeyFunction [CompactRedeemVerificationKey]

ToJSONKey RedeemVerificationKey Source # 
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.Internal.Orphans.Serialisation

Methods

toJSONKey :: ToJSONKeyFunction ApplicationName

toJSONKeyList :: ToJSONKeyFunction [ApplicationName]

ToJSONKey SystemTag Source # 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSONKey :: ToJSONKeyFunction SystemTag

toJSONKeyList :: ToJSONKeyFunction [SystemTag]

ToJSONKey GovActionId Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction GovActionId

toJSONKeyList :: ToJSONKeyFunction [GovActionId]

ToJSONKey Voter Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction Voter

toJSONKeyList :: ToJSONKeyFunction [Voter]

ToJSONKey AccountAddress Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey :: ToJSONKeyFunction AccountAddress

toJSONKeyList :: ToJSONKeyFunction [AccountAddress]

ToJSONKey Addr Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey :: ToJSONKeyFunction Addr

toJSONKeyList :: ToJSONKeyFunction [Addr]

ToJSONKey Ptr Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONKey :: ToJSONKeyFunction Ptr

toJSONKeyList :: ToJSONKeyFunction [Ptr]

ToJSONKey DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSONKey :: ToJSONKeyFunction DRep

toJSONKeyList :: ToJSONKeyFunction [DRep]

ToJSONKey ScriptHash Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSONKey :: ToJSONKeyFunction ScriptHash

toJSONKeyList :: ToJSONKeyFunction [ScriptHash]

ToJSONKey Language Source # 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

toJSONKey :: ToJSONKeyFunction Language

toJSONKeyList :: ToJSONKeyFunction [Language]

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxIn

toJSONKeyList :: ToJSONKeyFunction [TxIn]

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

ToJSONKey PolicyID Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSONKey :: ToJSONKeyFunction PolicyID

toJSONKeyList :: ToJSONKeyFunction [PolicyID]

ToJSONKey Void # 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Void

toJSONKeyList :: ToJSONKeyFunction [Void]

ToJSONKey Version # 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Version

toJSONKeyList :: ToJSONKeyFunction [Version]

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 URI # 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction URI

toJSONKeyList :: ToJSONKeyFunction [URI]

ToJSONKey DefinitionId Source # 
Instance details

Defined in PlutusTx.Blueprint.Definition.Id

Methods

toJSONKey :: ToJSONKeyFunction DefinitionId

toJSONKeyList :: ToJSONKeyFunction [DefinitionId]

ToJSONKey CoverageAnnotation Source # 
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 (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolExtendedKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolExtendedKey]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

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

Defined in Cardano.Api.Pretty.Internal.ShowOf

Methods

toJSONKey :: ToJSONKeyFunction (ShowOf a)

toJSONKeyList :: ToJSONKeyFunction [ShowOf a]

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

Defined in Cardano.Api.Serialise.SerialiseUsing

Methods

toJSONKey :: ToJSONKeyFunction (UsingBech32 a)

toJSONKeyList :: ToJSONKeyFunction [UsingBech32 a]

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

Defined in Cardano.Api.Serialise.SerialiseUsing

Methods

toJSONKey :: ToJSONKeyFunction (UsingRawBytesHex a)

toJSONKeyList :: ToJSONKeyFunction [UsingRawBytesHex a]

ToJSONKey (GovPurposeId p) Source # 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction (GovPurposeId p)

toJSONKeyList :: ToJSONKeyFunction [GovPurposeId p]

ToJSONKey (Credential kr) Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONKey :: ToJSONKeyFunction (Credential kr)

toJSONKeyList :: ToJSONKeyFunction [Credential kr]

ToJSONKey (KeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSONKey :: ToJSONKeyFunction (KeyHash r)

toJSONKeyList :: ToJSONKeyFunction [KeyHash r]

ToJSONKey (VRFVerKeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSONKey :: ToJSONKeyFunction (VRFVerKeyHash r)

toJSONKeyList :: ToJSONKeyFunction [VRFVerKeyHash r]

ToJSONKey a => ToJSONKey (Identity a) # 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction (Identity a)

toJSONKeyList :: ToJSONKeyFunction [Identity a]

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

Defined in Cardano.Crypto.Hash.Class

Methods

toJSONKey :: ToJSONKeyFunction (Hash h a)

toJSONKeyList :: ToJSONKeyFunction [Hash h a]

ToJSONKey (AbstractHash algo a) Source # 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSONKey :: ToJSONKeyFunction (AbstractHash algo a)

toJSONKeyList :: ToJSONKeyFunction [AbstractHash algo a]

(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 ByteString64 # 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON :: Value -> Parser ByteString64 #

parseJSONList :: Value -> Parser [ByteString64] #

omittedField :: Maybe ByteString64 #

FromJSON Cosigner # 
Instance details

Defined in Cardano.Address.Script

Methods

parseJSON :: Value -> Parser Cosigner #

parseJSONList :: Value -> Parser [Cosigner] #

omittedField :: Maybe Cosigner #

FromJSON ScriptTemplate # 
Instance details

Defined in Cardano.Address.Script

Methods

parseJSON :: Value -> Parser ScriptTemplate #

parseJSONList :: Value -> Parser [ScriptTemplate] #

omittedField :: Maybe ScriptTemplate #

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

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

FromJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Methods

parseJSON :: Value -> Parser AnyCardanoEra #

parseJSONList :: Value -> Parser [AnyCardanoEra] #

omittedField :: Maybe AnyCardanoEra #

FromJSON AnyShelleyBasedEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Eon.ShelleyBasedEra

FromJSON NodeConfig Source # 
Instance details

Defined in Cardano.Api.LedgerState

Methods

parseJSON :: Value -> Parser NodeConfig #

parseJSONList :: Value -> Parser [NodeConfig] #

omittedField :: Maybe NodeConfig #

FromJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

FromJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Methods

parseJSON :: Value -> Parser ExecutionUnits #

parseJSONList :: Value -> Parser [ExecutionUnits] #

omittedField :: Maybe ExecutionUnits #

FromJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Methods

parseJSON :: Value -> Parser ScriptHash #

parseJSONList :: Value -> Parser [ScriptHash] #

omittedField :: Maybe ScriptHash #

FromJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

FromJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Methods

parseJSON :: Value -> Parser SimpleScript #

parseJSONList :: Value -> Parser [SimpleScript] #

omittedField :: Maybe SimpleScript #

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

Defined in Cardano.Api.Query.Internal.Type.DelegationsAndRewards

FromJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

Methods

parseJSON :: Value -> Parser TextEnvelope #

parseJSONList :: Value -> Parser [TextEnvelope] #

omittedField :: Maybe TextEnvelope #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

FromJSON TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

omittedField :: Maybe TxId #

FromJSON TxIn Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxIn #

parseJSONList :: Value -> Parser [TxIn] #

omittedField :: Maybe TxIn #

FromJSON TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxIx #

parseJSONList :: Value -> Parser [TxIx] #

omittedField :: Maybe TxIx #

FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser AssetName #

parseJSONList :: Value -> Parser [AssetName] #

omittedField :: Maybe AssetName #

FromJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser PolicyId #

parseJSONList :: Value -> Parser [PolicyId] #

omittedField :: Maybe PolicyId #

FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser Quantity #

parseJSONList :: Value -> Parser [Quantity] #

omittedField :: Maybe Quantity #

FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser Value #

parseJSONList :: Value -> Parser [Value] #

omittedField :: Maybe Value #

FromJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser ValueNestedRep #

parseJSONList :: Value -> Parser [ValueNestedRep] #

omittedField :: Maybe ValueNestedRep #

FromJSON CardanoFeatureFlag Source # 
Instance details

Defined in Cardano.Base.FeatureFlags

FromJSON IPv4 Source # 
Instance details

Defined in Cardano.Base.IP

Methods

parseJSON :: Value -> Parser IPv4 #

parseJSONList :: Value -> Parser [IPv4] #

omittedField :: Maybe IPv4 #

FromJSON IPv6 Source # 
Instance details

Defined in Cardano.Base.IP

Methods

parseJSON :: Value -> Parser IPv6 #

parseJSONList :: Value -> Parser [IPv6] #

omittedField :: Maybe IPv6 #

FromJSON ProtocolMagic Source # 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON :: Value -> Parser ProtocolMagic #

parseJSONList :: Value -> Parser [ProtocolMagic] #

omittedField :: Maybe ProtocolMagic #

FromJSON ProtocolMagicId Source # 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON RequiresNetworkMagic Source # 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON CompactRedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

FromJSON RedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

FromJSON VerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

FromJSON NumberOfBigLedgerPeers Source # 
Instance details

Defined in Cardano.Network.PeerSelection.Governor.PeerSelectionState

FromJSON ConsensusMode # 
Instance details

Defined in Cardano.Network.ConsensusMode

Methods

parseJSON :: Value -> Parser ConsensusMode #

parseJSONList :: Value -> Parser [ConsensusMode] #

omittedField :: Maybe ConsensusMode #

FromJSON AlonzoExtraConfig Source # 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

FromJSON AlonzoGenesis Source # 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

parseJSON :: Value -> Parser AlonzoGenesis #

parseJSONList :: Value -> Parser [AlonzoGenesis] #

omittedField :: Maybe AlonzoGenesis #

FromJSON CoinPerWord Source # 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

parseJSON :: Value -> Parser CoinPerWord #

parseJSONList :: Value -> Parser [CoinPerWord] #

omittedField :: Maybe CoinPerWord #

FromJSON OrdExUnits Source # 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

parseJSON :: Value -> Parser OrdExUnits #

parseJSONList :: Value -> Parser [OrdExUnits] #

omittedField :: Maybe OrdExUnits #

FromJSON Version Source # 
Instance details

Defined in Cardano.Ledger.Binary.Version

Methods

parseJSON :: Value -> Parser Version #

parseJSONList :: Value -> Parser [Version] #

omittedField :: Maybe Version #

FromJSON ConwayGenesis Source # 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

parseJSON :: Value -> Parser ConwayGenesis #

parseJSONList :: Value -> Parser [ConwayGenesis] #

omittedField :: Maybe ConwayGenesis #

FromJSON DRepVotingThresholds Source # 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON PoolVotingThresholds Source # 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON Delegatee Source # 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Methods

parseJSON :: Value -> Parser Delegatee #

parseJSONList :: Value -> Parser [Delegatee] #

omittedField :: Maybe Delegatee #

FromJSON AccountAddress Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser AccountAddress #

parseJSONList :: Value -> Parser [AccountAddress] #

omittedField :: Maybe AccountAddress #

FromJSON AccountId Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser AccountId #

parseJSONList :: Value -> Parser [AccountId] #

omittedField :: Maybe AccountId #

FromJSON Addr Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser Addr #

parseJSONList :: Value -> Parser [Addr] #

omittedField :: Maybe Addr #

FromJSON Anchor Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Anchor #

parseJSONList :: Value -> Parser [Anchor] #

omittedField :: Maybe Anchor #

FromJSON BlocksMade Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser BlocksMade #

parseJSONList :: Value -> Parser [BlocksMade] #

omittedField :: Maybe BlocksMade #

FromJSON DnsName Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser DnsName #

parseJSONList :: Value -> Parser [DnsName] #

omittedField :: Maybe DnsName #

FromJSON Network Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Network #

parseJSONList :: Value -> Parser [Network] #

omittedField :: Maybe Network #

FromJSON NonNegativeInterval Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Nonce Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Nonce #

parseJSONList :: Value -> Parser [Nonce] #

omittedField :: Maybe Nonce #

FromJSON Port Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Port #

parseJSONList :: Value -> Parser [Port] #

omittedField :: Maybe Port #

FromJSON PositiveInterval Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON PositiveUnitInterval Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON ProtVer Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser ProtVer #

parseJSONList :: Value -> Parser [ProtVer] #

omittedField :: Maybe ProtVer #

FromJSON UnitInterval Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser UnitInterval #

parseJSONList :: Value -> Parser [UnitInterval] #

omittedField :: Maybe UnitInterval #

FromJSON Url Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Url #

parseJSONList :: Value -> Parser [Url] #

omittedField :: Maybe Url #

FromJSON Coin Source # 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser Coin #

parseJSONList :: Value -> Parser [Coin] #

omittedField :: Maybe Coin #

FromJSON CoinPerByte Source # 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser CoinPerByte #

parseJSONList :: Value -> Parser [CoinPerByte] #

omittedField :: Maybe CoinPerByte #

FromJSON DeltaCoin Source # 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser DeltaCoin #

parseJSONList :: Value -> Parser [DeltaCoin] #

omittedField :: Maybe DeltaCoin #

FromJSON SlotNo32 Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

parseJSON :: Value -> Parser SlotNo32 #

parseJSONList :: Value -> Parser [SlotNo32] #

omittedField :: Maybe SlotNo32 #

FromJSON DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

parseJSON :: Value -> Parser DRep #

parseJSONList :: Value -> Parser [DRep] #

omittedField :: Maybe DRep #

FromJSON DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

parseJSON :: Value -> Parser DRepState #

parseJSONList :: Value -> Parser [DRepState] #

omittedField :: Maybe DRepState #

FromJSON GenDelegPair Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser GenDelegPair #

parseJSONList :: Value -> Parser [GenDelegPair] #

omittedField :: Maybe GenDelegPair #

FromJSON GenDelegs Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser GenDelegs #

parseJSONList :: Value -> Parser [GenDelegs] #

omittedField :: Maybe GenDelegs #

FromJSON ScriptHash Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser ScriptHash #

parseJSONList :: Value -> Parser [ScriptHash] #

omittedField :: Maybe ScriptHash #

FromJSON CostModels Source # 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

parseJSON :: Value -> Parser CostModels #

parseJSONList :: Value -> Parser [CostModels] #

omittedField :: Maybe CostModels #

FromJSON ExUnits Source # 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser ExUnits #

parseJSONList :: Value -> Parser [ExUnits] #

omittedField :: Maybe ExUnits #

FromJSON Prices Source # 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser Prices #

parseJSONList :: Value -> Parser [Prices] #

omittedField :: Maybe Prices #

FromJSON Language Source # 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

parseJSON :: Value -> Parser Language #

parseJSONList :: Value -> Parser [Language] #

omittedField :: Maybe Language #

FromJSON PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

parseJSON :: Value -> Parser PoolMetadata #

parseJSONList :: Value -> Parser [PoolMetadata] #

omittedField :: Maybe PoolMetadata #

FromJSON StakePoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

FromJSON StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

parseJSON :: Value -> Parser StakePoolRelay #

parseJSONList :: Value -> Parser [StakePoolRelay] #

omittedField :: Maybe StakePoolRelay #

FromJSON StakePoolState Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

parseJSON :: Value -> Parser StakePoolState #

parseJSONList :: Value -> Parser [StakePoolState] #

omittedField :: Maybe StakePoolState #

FromJSON TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

omittedField :: Maybe TxId #

FromJSON DijkstraGenesis Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.Genesis

FromJSON PolicyID Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

parseJSON :: Value -> Parser PolicyID #

parseJSONList :: Value -> Parser [PolicyID] #

omittedField :: Maybe PolicyID #

FromJSON RewardInfoPool Source # 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardInfoPool #

parseJSONList :: Value -> Parser [RewardInfoPool] #

omittedField :: Maybe RewardInfoPool #

FromJSON RewardParams Source # 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardParams #

parseJSONList :: Value -> Parser [RewardParams] #

omittedField :: Maybe RewardParams #

FromJSON LegacyJSONPParams Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser LegacyJSONPParams #

parseJSONList :: Value -> Parser [LegacyJSONPParams] #

omittedField :: Maybe LegacyJSONPParams #

FromJSON NominalDiffTimeMicro Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

FromJSON ShelleyGenesis Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser ShelleyGenesis #

parseJSONList :: Value -> Parser [ShelleyGenesis] #

omittedField :: Maybe ShelleyGenesis #

FromJSON ShelleyGenesisStaking Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

FromJSON LogWeight Source # 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

parseJSON :: Value -> Parser LogWeight #

parseJSONList :: Value -> Parser [LogWeight] #

omittedField :: Maybe LogWeight #

FromJSON Desirability Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser Desirability #

parseJSONList :: Value -> Parser [Desirability] #

omittedField :: Maybe Desirability #

FromJSON RewardProvenance Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

FromJSON RewardProvenancePool Source # 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

FromJSON FromByronTranslationContext Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Translation

FromJSON BlockNo Source # 
Instance details

Defined in Cardano.Slotting.Block

Methods

parseJSON :: Value -> Parser BlockNo #

parseJSONList :: Value -> Parser [BlockNo] #

omittedField :: Maybe BlockNo #

FromJSON EpochInterval Source # 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochInterval #

parseJSONList :: Value -> Parser [EpochInterval] #

omittedField :: Maybe EpochInterval #

FromJSON EpochNo Source # 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo #

parseJSONList :: Value -> Parser [EpochNo] #

omittedField :: Maybe EpochNo #

FromJSON EpochSize Source # 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochSize #

parseJSONList :: Value -> Parser [EpochSize] #

omittedField :: Maybe EpochSize #

FromJSON SlotNo Source # 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser SlotNo #

parseJSONList :: Value -> Parser [SlotNo] #

omittedField :: Maybe SlotNo #

FromJSON RelativeTime Source # 
Instance details

Defined in Cardano.Slotting.Time

Methods

parseJSON :: Value -> Parser RelativeTime #

parseJSONList :: Value -> Parser [RelativeTime] #

omittedField :: Maybe RelativeTime #

FromJSON SystemStart Source # 
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 PublicKey Source # 
Instance details

Defined in Cardano.Crypto.Orphans

Methods

parseJSON :: Value -> Parser PublicKey #

parseJSONList :: Value -> Parser [PublicKey] #

omittedField :: Maybe PublicKey #

FromJSON Signature Source # 
Instance details

Defined in Cardano.Crypto.Orphans

Methods

parseJSON :: Value -> Parser Signature #

parseJSONList :: Value -> Parser [Signature] #

omittedField :: Maybe Signature #

FromJSON Void # 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Void #

parseJSONList :: Value -> Parser [Void] #

omittedField :: Maybe Void #

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 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 Ordering # 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Ordering #

parseJSONList :: Value -> Parser [Ordering] #

omittedField :: Maybe Ordering #

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

Defined in Cardano.Ledger.Orphans

Methods

parseJSON :: Value -> Parser IPv4 #

parseJSONList :: Value -> Parser [IPv4] #

omittedField :: Maybe IPv4 #

FromJSON IPv6 Source # 
Instance details

Defined in Cardano.Ledger.Orphans

Methods

parseJSON :: Value -> Parser IPv6 #

parseJSONList :: Value -> Parser [IPv6] #

omittedField :: Maybe IPv6 #

FromJSON URI # 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser URI #

parseJSONList :: Value -> Parser [URI] #

omittedField :: Maybe URI #

FromJSON SnapshotBackend Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

FromJSON SnapshotMetadata Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

FromJSON TablesCodecVersion Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

FromJSON ShelleyHash # 
Instance details

Defined in Ouroboros.Consensus.Shelley.Protocol.Abstract

Methods

parseJSON :: Value -> Parser ShelleyHash #

parseJSONList :: Value -> Parser [ShelleyHash] #

omittedField :: Maybe ShelleyHash #

FromJSON AccPoolStake # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

parseJSON :: Value -> Parser AccPoolStake #

parseJSONList :: Value -> Parser [AccPoolStake] #

omittedField :: Maybe AccPoolStake #

FromJSON PoolStake # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

parseJSON :: Value -> Parser PoolStake #

parseJSONList :: Value -> Parser [PoolStake] #

omittedField :: Maybe PoolStake #

FromJSON RawBlockHash # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Methods

parseJSON :: Value -> Parser RawBlockHash #

parseJSONList :: Value -> Parser [RawBlockHash] #

omittedField :: Maybe RawBlockHash #

FromJSON PeerAdvertise # 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

Methods

parseJSON :: Value -> Parser PeerAdvertise #

parseJSONList :: Value -> Parser [PeerAdvertise] #

omittedField :: Maybe PeerAdvertise #

FromJSON LedgerRelayAccessPoint # 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON LedgerRelayAccessPointV1 # 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON RelayAccessPoint # 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON Coefficient0 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient0 #

parseJSONList :: Value -> Parser [Coefficient0] #

omittedField :: Maybe Coefficient0 #

FromJSON Coefficient00 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient00 #

parseJSONList :: Value -> Parser [Coefficient00] #

omittedField :: Maybe Coefficient00 #

FromJSON Coefficient01 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient01 #

parseJSONList :: Value -> Parser [Coefficient01] #

omittedField :: Maybe Coefficient01 #

FromJSON Coefficient02 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient02 #

parseJSONList :: Value -> Parser [Coefficient02] #

omittedField :: Maybe Coefficient02 #

FromJSON Coefficient1 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient1 #

parseJSONList :: Value -> Parser [Coefficient1] #

omittedField :: Maybe Coefficient1 #

FromJSON Coefficient10 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient10 #

parseJSONList :: Value -> Parser [Coefficient10] #

omittedField :: Maybe Coefficient10 #

FromJSON Coefficient11 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient11 #

parseJSONList :: Value -> Parser [Coefficient11] #

omittedField :: Maybe Coefficient11 #

FromJSON Coefficient12 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient12 #

parseJSONList :: Value -> Parser [Coefficient12] #

omittedField :: Maybe Coefficient12 #

FromJSON Coefficient2 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient2 #

parseJSONList :: Value -> Parser [Coefficient2] #

omittedField :: Maybe Coefficient2 #

FromJSON Coefficient20 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Coefficient20 #

parseJSONList :: Value -> Parser [Coefficient20] #

omittedField :: Maybe Coefficient20 #

FromJSON ExpModCostingFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON Intercept Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Intercept #

parseJSONList :: Value -> Parser [Intercept] #

omittedField :: Maybe Intercept #

FromJSON ModelConstantOrLinear Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelConstantOrOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelConstantOrTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelFiveArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelFourArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelSixArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelSubtractedSizes Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelThreeArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON ModelTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON OneVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON OneVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON Slope Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser Slope #

parseJSONList :: Value -> Parser [Slope] #

omittedField :: Maybe Slope #

FromJSON TwoVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON TwoVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON TwoVariableWithInteractionFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

FromJSON CpuAndMemoryModel Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

FromJSON ExpModCostingFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

FromJSON LinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

Methods

parseJSON :: Value -> Parser LinearFunction #

parseJSONList :: Value -> Parser [LinearFunction] #

omittedField :: Maybe LinearFunction #

FromJSON Model Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

Methods

parseJSON :: Value -> Parser Model #

parseJSONList :: Value -> Parser [Model] #

omittedField :: Maybe Model #

FromJSON OneVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

FromJSON TwoVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

FromJSON TwoVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

FromJSON TwoVariableWithInteractionFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON

FromJSON ExBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

parseJSON :: Value -> Parser ExBudget #

parseJSONList :: Value -> Parser [ExBudget] #

omittedField :: Maybe ExBudget #

FromJSON ExCPU Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON :: Value -> Parser ExCPU #

parseJSONList :: Value -> Parser [ExCPU] #

omittedField :: Maybe ExCPU #

FromJSON ExMemory Source # 
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.Internal.Orphans.Serialisation

Methods

parseJSON :: Value -> Parser ParamName #

parseJSONList :: Value -> Parser [ParamName] #

omittedField :: Maybe ParamName #

FromJSON CovLoc Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CovLoc #

parseJSONList :: Value -> Parser [CovLoc] #

omittedField :: Maybe CovLoc #

FromJSON CoverageAnnotation Source # 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageData Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageData #

parseJSONList :: Value -> Parser [CoverageData] #

omittedField :: Maybe CoverageData #

FromJSON CoverageIndex Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageIndex #

parseJSONList :: Value -> Parser [CoverageIndex] #

omittedField :: Maybe CoverageIndex #

FromJSON CoverageMetadata Source # 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageReport Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageReport #

parseJSONList :: Value -> Parser [CoverageReport] #

omittedField :: Maybe CoverageReport #

FromJSON Metadata Source # 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser Metadata #

parseJSONList :: Value -> Parser [Metadata] #

omittedField :: Maybe Metadata #

FromJSON Rational Source #

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 (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 (Script KeyHash) # 
Instance details

Defined in Cardano.Address.Script

Methods

parseJSON :: Value -> Parser (Script KeyHash) #

parseJSONList :: Value -> Parser [Script KeyHash] #

omittedField :: Maybe (Script KeyHash) #

FromJSON (Script Cosigner) # 
Instance details

Defined in Cardano.Address.Script

Methods

parseJSON :: Value -> Parser (Script Cosigner) #

parseJSONList :: Value -> Parser [Script Cosigner] #

omittedField :: Maybe (Script Cosigner) #

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 (Authors CIP108) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.GovAction

Methods

parseJSON :: Value -> Parser (Authors CIP108) #

parseJSONList :: Value -> Parser [Authors CIP108] #

omittedField :: Maybe (Authors CIP108) #

FromJSON (Body CIP119) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.DrepRegistration

Methods

parseJSON :: Value -> Parser (Body CIP119) #

parseJSONList :: Value -> Parser [Body CIP119] #

omittedField :: Maybe (Body CIP119) #

FromJSON (Body CIP108) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.GovAction

Methods

parseJSON :: Value -> Parser (Body CIP108) #

parseJSONList :: Value -> Parser [Body CIP108] #

omittedField :: Maybe (Body CIP108) #

FromJSON (GovActionMetadata CIP119) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.DrepRegistration

FromJSON (GovActionMetadata CIP108) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.GovAction

FromJSON (HashAlgorithm CIP119) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.DrepRegistration

FromJSON (HashAlgorithm CIP108) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Metadata.GovAction

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.Key.Internal

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.Key.Internal

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.Key.Internal

Methods

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

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

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

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.Plutus.Internal.ScriptData

Methods

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

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

omittedField :: Maybe (Hash ScriptData) #

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

Defined in Cardano.Api.Plutus.Internal.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.Serialise.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.Serialise.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.Internal.Output

Methods

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

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

omittedField :: Maybe (TxOutValue era) #

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

Defined in Cardano.Api.UTxO

Methods

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

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

omittedField :: Maybe (UTxO era) #

FromJSON a => FromJSON (RedeemSignature a) Source # 
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) Source # 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

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

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

omittedField :: Maybe (Signature w) #

Era era => FromJSON (Committee era) Source # 
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) Source # 
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) Source # 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(FromJSON a, HasZero a) => FromJSON (NonZero a) Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes.NonZero

Methods

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

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

omittedField :: Maybe (NonZero a) #

FromJSON (CompactForm Coin) Source # 
Instance details

Defined in Cardano.Ledger.Coin

Methods

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

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

omittedField :: Maybe (CompactForm Coin) #

EraPParams era => FromJSON (PParams era) Source # 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

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

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

omittedField :: Maybe (PParams era) #

EraPParams era => FromJSON (PParamsUpdate era) Source # 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

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

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

omittedField :: Maybe (PParamsUpdate era) #

FromJSON (Credential kr) Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

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

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

omittedField :: Maybe (Credential kr) #

FromJSON (NoGenesis era) Source # 
Instance details

Defined in Cardano.Ledger.Genesis

Methods

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

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

omittedField :: Maybe (NoGenesis era) #

FromJSON (KeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser (KeyHash r) #

parseJSONList :: Value -> Parser [KeyHash r] #

omittedField :: Maybe (KeyHash r) #

FromJSON (SafeHash i) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser (SafeHash i) #

parseJSONList :: Value -> Parser [SafeHash i] #

omittedField :: Maybe (SafeHash i) #

FromJSON (VRFVerKeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser (VRFVerKeyHash r) #

parseJSONList :: Value -> Parser [VRFVerKeyHash r] #

omittedField :: Maybe (VRFVerKeyHash r) #

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

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

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

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

omittedField :: Maybe (ExUnits' a) #

EraTransition era => FromJSON (TransitionConfig era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

Methods

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

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

omittedField :: Maybe (TransitionConfig era) #

FromJSON a => FromJSON (WithOrigin a) Source # 
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) Source # 
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) Source # 
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 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) #

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

(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 a => FromJSON (NESeq a) # 
Instance details

Defined in Data.Sequence.NonEmpty.Internal

Methods

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

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

omittedField :: Maybe (NESeq a) #

FromJSON (LedgerPeerSnapshot 'AllLedgerPeers) # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

FromJSON (LedgerPeerSnapshot 'BigLedgerPeers) # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

FromJSON (BuiltinCostModelBase CostingFun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON model => FromJSON (CostingFun model) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.JSON

Methods

parseJSON :: Value -> Parser (CostingFun model) #

parseJSONList :: Value -> Parser [CostingFun model] #

omittedField :: Maybe (CostingFun model) #

FromJSON (CekMachineCostsBase Identity) Source # 
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] #

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 (Some Era) Source # 
Instance details

Defined in Cardano.Api.Experimental.Era

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.Internal.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.Internal.Output

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.Internal.Output

Methods

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

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

omittedField :: Maybe (TxOut CtxUTxO era) #

HashAlgorithm h => FromJSON (Hash h a) Source # 
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) Source # 
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) Source # 
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 b => FromJSON (Annotated b ()) Source # 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

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

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

omittedField :: Maybe (Annotated b ()) #

FromJSON a => FromJSON (Mismatch r a) Source # 
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) #

FromJSON (UpgradeDijkstraPParams Identity era) Source # 
Instance details

Defined in Cardano.Ledger.Dijkstra.PParams

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

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

(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 (Block SlotNo (HeaderHash block)) => FromJSON (Point block) # 
Instance details

Defined in Ouroboros.Network.Block

Methods

parseJSON :: Value -> Parser (Point block) #

parseJSONList :: Value -> Parser [Point block] #

omittedField :: Maybe (Point block) #

(FromJSON slot, FromJSON hash) => FromJSON (Block slot hash) # 
Instance details

Defined in Ouroboros.Network.Point

Methods

parseJSON :: Value -> Parser (Block slot hash) #

parseJSONList :: Value -> Parser [Block slot hash] #

omittedField :: Maybe (Block slot hash) #

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

(Typeable t, FromJSON a) => FromJSON (THKD t StrictMaybe a) Source # 
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) #

(Typeable t, FromJSON a) => FromJSON (THKD t Identity a) Source # 
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) #

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

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) Source # 
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 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.Plutus.Internal.Script

Methods

fromJSONKey :: FromJSONKeyFunction AnyPlutusScriptVersion

fromJSONKeyList :: FromJSONKeyFunction [AnyPlutusScriptVersion]

FromJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxId

fromJSONKeyList :: FromJSONKeyFunction [TxId]

FromJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxIn

fromJSONKeyList :: FromJSONKeyFunction [TxIn]

FromJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

fromJSONKey :: FromJSONKeyFunction AssetName

fromJSONKeyList :: FromJSONKeyFunction [AssetName]

FromJSONKey CompactRedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

fromJSONKey :: FromJSONKeyFunction CompactRedeemVerificationKey

fromJSONKeyList :: FromJSONKeyFunction [CompactRedeemVerificationKey]

FromJSONKey RedeemVerificationKey Source # 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

fromJSONKey :: FromJSONKeyFunction RedeemVerificationKey

fromJSONKeyList :: FromJSONKeyFunction [RedeemVerificationKey]

FromJSONKey AccountAddress Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey :: FromJSONKeyFunction AccountAddress

fromJSONKeyList :: FromJSONKeyFunction [AccountAddress]

FromJSONKey Addr Source # 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey :: FromJSONKeyFunction Addr

fromJSONKeyList :: FromJSONKeyFunction [Addr]

FromJSONKey DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

fromJSONKey :: FromJSONKeyFunction DRep

fromJSONKeyList :: FromJSONKeyFunction [DRep]

FromJSONKey ScriptHash Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

fromJSONKey :: FromJSONKeyFunction ScriptHash

fromJSONKeyList :: FromJSONKeyFunction [ScriptHash]

FromJSONKey Language Source # 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

fromJSONKey :: FromJSONKeyFunction Language

fromJSONKeyList :: FromJSONKeyFunction [Language]

FromJSONKey PolicyID Source # 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromJSONKey :: FromJSONKeyFunction PolicyID

fromJSONKeyList :: FromJSONKeyFunction [PolicyID]

FromJSONKey Void # 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Void

fromJSONKeyList :: FromJSONKeyFunction [Void]

FromJSONKey Version # 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Version

fromJSONKeyList :: FromJSONKeyFunction [Version]

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 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.Internal.Orphans.Serialisation

Methods

fromJSONKey :: FromJSONKeyFunction ParamName

fromJSONKeyList :: FromJSONKeyFunction [ParamName]

FromJSONKey CoverageAnnotation Source # 
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 (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

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

Defined in Cardano.Api.Serialise.SerialiseUsing

Methods

fromJSONKey :: FromJSONKeyFunction (UsingBech32 a)

fromJSONKeyList :: FromJSONKeyFunction [UsingBech32 a]

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

Defined in Cardano.Api.Serialise.SerialiseUsing

Methods

fromJSONKey :: FromJSONKeyFunction (UsingRawBytesHex a)

fromJSONKeyList :: FromJSONKeyFunction [UsingRawBytesHex a]

FromJSONKey (Credential kr) Source # 
Instance details

Defined in Cardano.Ledger.Credential

Methods

fromJSONKey :: FromJSONKeyFunction (Credential kr)

fromJSONKeyList :: FromJSONKeyFunction [Credential kr]

FromJSONKey (KeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

fromJSONKey :: FromJSONKeyFunction (KeyHash r)

fromJSONKeyList :: FromJSONKeyFunction [KeyHash r]

FromJSONKey (VRFVerKeyHash r) Source # 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

fromJSONKey :: FromJSONKeyFunction (VRFVerKeyHash r)

fromJSONKeyList :: FromJSONKeyFunction [VRFVerKeyHash r]

FromJSONKey a => FromJSONKey (Identity a) # 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction (Identity a)

fromJSONKeyList :: FromJSONKeyFunction [Identity a]

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

Defined in Cardano.Crypto.Hashing

Methods

fromJSONKey :: FromJSONKeyFunction (AbstractHash algo a)

fromJSONKeyList :: FromJSONKeyFunction [AbstractHash algo a]

(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
Error JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.Serialise.Json

Eq JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.Serialise.Json

Data JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.Serialise.Json

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.Serialise.Json

textWithMaxLength :: String -> Int -> Value -> Parser Text Source #

Parser for Text that validates that the number of characters is under a given maximum. The String parameter is meant to be the name of the field in order to be able to give context in case of error.