cardano-api-8.36.1.1: The cardano api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.SerialiseJSON

Description

JSON serialisation

Documentation

serialiseToJSON :: ToJSON a => a -> ByteString Source #

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

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: () -> Value #

toEncoding :: () -> Encoding #

toJSONList :: [()] -> Value #

toEncodingList :: [()] -> Encoding #

omitField :: () -> 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 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 Version 
Instance details

Defined in Cardano.Ledger.Binary.Version

Methods

toJSON :: Version -> Value #

toEncoding :: Version -> Encoding #

toJSONList :: [Version] -> Value #

toEncodingList :: [Version] -> Encoding #

omitField :: Version -> Bool #

ToJSON CertIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: CertIx -> Value #

toEncoding :: CertIx -> Encoding #

toJSONList :: [CertIx] -> Value #

toEncodingList :: [CertIx] -> Encoding #

omitField :: CertIx -> Bool #

ToJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: DnsName -> Value #

toEncoding :: DnsName -> Encoding #

toJSONList :: [DnsName] -> Value #

toEncodingList :: [DnsName] -> Encoding #

omitField :: DnsName -> Bool #

ToJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Network -> Value #

toEncoding :: Network -> Encoding #

toJSONList :: [Network] -> Value #

toEncodingList :: [Network] -> Encoding #

omitField :: Network -> Bool #

ToJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: NonNegativeInterval -> Value #

toEncoding :: NonNegativeInterval -> Encoding #

toJSONList :: [NonNegativeInterval] -> Value #

toEncodingList :: [NonNegativeInterval] -> Encoding #

omitField :: NonNegativeInterval -> Bool #

ToJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Nonce -> Value #

toEncoding :: Nonce -> Encoding #

toJSONList :: [Nonce] -> Value #

toEncodingList :: [Nonce] -> Encoding #

omitField :: Nonce -> Bool #

ToJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Port -> Value #

toEncoding :: Port -> Encoding #

toJSONList :: [Port] -> Value #

toEncodingList :: [Port] -> Encoding #

omitField :: Port -> Bool #

ToJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: PositiveInterval -> Value #

toEncoding :: PositiveInterval -> Encoding #

toJSONList :: [PositiveInterval] -> Value #

toEncodingList :: [PositiveInterval] -> Encoding #

omitField :: PositiveInterval -> Bool #

ToJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: PositiveUnitInterval -> Value #

toEncoding :: PositiveUnitInterval -> Encoding #

toJSONList :: [PositiveUnitInterval] -> Value #

toEncodingList :: [PositiveUnitInterval] -> Encoding #

omitField :: PositiveUnitInterval -> Bool #

ToJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: ProtVer -> Value #

toEncoding :: ProtVer -> Encoding #

toJSONList :: [ProtVer] -> Value #

toEncodingList :: [ProtVer] -> Encoding #

omitField :: ProtVer -> Bool #

ToJSON TxIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

omitField :: TxIx -> Bool #

ToJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: UnitInterval -> Value #

toEncoding :: UnitInterval -> Encoding #

toJSONList :: [UnitInterval] -> Value #

toEncodingList :: [UnitInterval] -> Encoding #

omitField :: UnitInterval -> Bool #

ToJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Url -> Value #

toEncoding :: Url -> Encoding #

toJSONList :: [Url] -> Value #

toEncodingList :: [Url] -> Encoding #

omitField :: Url -> Bool #

ToJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toJSON :: BlockNo -> Value #

toEncoding :: BlockNo -> Encoding #

toJSONList :: [BlockNo] -> Value #

toEncodingList :: [BlockNo] -> Encoding #

omitField :: BlockNo -> Bool #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochNo -> Value #

toEncoding :: EpochNo -> Encoding #

toJSONList :: [EpochNo] -> Value #

toEncodingList :: [EpochNo] -> Encoding #

omitField :: EpochNo -> Bool #

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochSize -> Value #

toEncoding :: EpochSize -> Encoding #

toJSONList :: [EpochSize] -> Value #

toEncodingList :: [EpochSize] -> Encoding #

omitField :: EpochSize -> Bool #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: SlotNo -> Value #

toEncoding :: SlotNo -> Encoding #

toJSONList :: [SlotNo] -> Value #

toEncodingList :: [SlotNo] -> Encoding #

omitField :: SlotNo -> Bool #

ToJSON 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 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 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 SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

toJSON :: SystemStart -> Value #

toEncoding :: SystemStart -> Encoding #

toJSONList :: [SystemStart] -> Value #

toEncodingList :: [SystemStart] -> Encoding #

omitField :: SystemStart -> Bool #

ToJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

toJSON :: ExBudget -> Value #

toEncoding :: ExBudget -> Encoding #

toJSONList :: [ExBudget] -> Value #

toEncodingList :: [ExBudget] -> Encoding #

omitField :: ExBudget -> Bool #

ToJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

toJSON :: ExCPU -> Value #

toEncoding :: ExCPU -> Encoding #

toJSONList :: [ExCPU] -> Value #

toEncodingList :: [ExCPU] -> Encoding #

omitField :: ExCPU -> Bool #

ToJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

toJSON :: ExMemory -> Value #

toEncoding :: ExMemory -> Encoding #

toJSONList :: [ExMemory] -> Value #

toEncodingList :: [ExMemory] -> Encoding #

omitField :: ExMemory -> Bool #

ToJSON 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 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 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 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 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 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 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 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 NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: NominalDiffTime -> Value #

toEncoding :: NominalDiffTime -> Encoding #

toJSONList :: [NominalDiffTime] -> Value #

toEncodingList :: [NominalDiffTime] -> Encoding #

omitField :: NominalDiffTime -> 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 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 CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: CalendarDiffDays -> Value #

toEncoding :: CalendarDiffDays -> Encoding #

toJSONList :: [CalendarDiffDays] -> Value #

toEncodingList :: [CalendarDiffDays] -> Encoding #

omitField :: CalendarDiffDays -> Bool #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: CalendarDiffTime -> Value #

toEncoding :: CalendarDiffTime -> Encoding #

toJSONList :: [CalendarDiffTime] -> Value #

toEncodingList :: [CalendarDiffTime] -> Encoding #

omitField :: CalendarDiffTime -> 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 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 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 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 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 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 AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON :: AddrAttributes -> Value #

toEncoding :: AddrAttributes -> Encoding #

toJSONList :: [AddrAttributes] -> Value #

toEncodingList :: [AddrAttributes] -> Encoding #

omitField :: AddrAttributes -> Bool #

ToJSON HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON :: HDAddressPayload -> Value #

toEncoding :: HDAddressPayload -> Encoding #

toJSONList :: [HDAddressPayload] -> Value #

toEncodingList :: [HDAddressPayload] -> Encoding #

omitField :: HDAddressPayload -> Bool #

ToJSON AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toJSON :: AddrType -> Value #

toEncoding :: AddrType -> Encoding #

toJSONList :: [AddrType] -> Value #

toEncodingList :: [AddrType] -> Encoding #

omitField :: AddrType -> Bool #

ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON :: Address -> Value #

toEncoding :: Address -> Encoding #

toJSONList :: [Address] -> Value #

toEncodingList :: [Address] -> Encoding #

omitField :: Address -> Bool #

ToJSON UnparsedFields 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

toJSON :: UnparsedFields -> Value #

toEncoding :: UnparsedFields -> Encoding #

toJSONList :: [UnparsedFields] -> Value #

toEncodingList :: [UnparsedFields] -> Encoding #

omitField :: UnparsedFields -> Bool #

ToJSON ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

Methods

toJSON :: ChainDifficulty -> Value #

toEncoding :: ChainDifficulty -> Encoding #

toJSONList :: [ChainDifficulty] -> Value #

toEncodingList :: [ChainDifficulty] -> Encoding #

omitField :: ChainDifficulty -> Bool #

ToJSON KeyHash Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: KeyHash -> Value #

toEncoding :: KeyHash -> Encoding #

toJSONList :: [KeyHash] -> Value #

toEncodingList :: [KeyHash] -> Encoding #

omitField :: KeyHash -> Bool #

ToJSON Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toJSON :: Lovelace -> Value #

toEncoding :: Lovelace -> Encoding #

toJSONList :: [Lovelace] -> Value #

toEncodingList :: [Lovelace] -> Encoding #

omitField :: Lovelace -> Bool #

ToJSON LovelaceError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: LovelaceError -> Value #

toEncoding :: LovelaceError -> Encoding #

toJSONList :: [LovelaceError] -> Value #

toEncodingList :: [LovelaceError] -> Encoding #

omitField :: LovelaceError -> Bool #

ToJSON LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

toJSON :: LovelacePortion -> Value #

toEncoding :: LovelacePortion -> Encoding #

toJSONList :: [LovelacePortion] -> Value #

toEncodingList :: [LovelacePortion] -> Encoding #

omitField :: LovelacePortion -> Bool #

ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toJSON :: NetworkMagic -> Value #

toEncoding :: NetworkMagic -> Encoding #

toJSONList :: [NetworkMagic] -> Value #

toEncodingList :: [NetworkMagic] -> Encoding #

omitField :: NetworkMagic -> Bool #

ToJSON TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toJSON :: TxFeePolicy -> Value #

toEncoding :: TxFeePolicy -> Encoding #

toJSONList :: [TxFeePolicy] -> Value #

toEncodingList :: [TxFeePolicy] -> Encoding #

omitField :: TxFeePolicy -> Bool #

ToJSON TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

toJSON :: TxSizeLinear -> Value #

toEncoding :: TxSizeLinear -> Encoding #

toJSONList :: [TxSizeLinear] -> Value #

toEncodingList :: [TxSizeLinear] -> Encoding #

omitField :: TxSizeLinear -> Bool #

ToJSON GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

toJSON :: GenesisHash -> Value #

toEncoding :: GenesisHash -> Encoding #

toJSONList :: [GenesisHash] -> Value #

toEncodingList :: [GenesisHash] -> Encoding #

omitField :: GenesisHash -> Bool #

ToJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON :: ProtocolMagic -> Value #

toEncoding :: ProtocolMagic -> Encoding #

toJSONList :: [ProtocolMagic] -> Value #

toEncodingList :: [ProtocolMagic] -> Encoding #

omitField :: ProtocolMagic -> Bool #

ToJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON :: ProtocolMagicId -> Value #

toEncoding :: ProtocolMagicId -> Encoding #

toJSONList :: [ProtocolMagicId] -> Value #

toEncodingList :: [ProtocolMagicId] -> Encoding #

omitField :: ProtocolMagicId -> Bool #

ToJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON :: RequiresNetworkMagic -> Value #

toEncoding :: RequiresNetworkMagic -> Encoding #

toJSONList :: [RequiresNetworkMagic] -> Value #

toEncodingList :: [RequiresNetworkMagic] -> Encoding #

omitField :: RequiresNetworkMagic -> Bool #

ToJSON SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON :: SscPayload -> Value #

toEncoding :: SscPayload -> Encoding #

toJSONList :: [SscPayload] -> Value #

toEncodingList :: [SscPayload] -> Encoding #

omitField :: SscPayload -> Bool #

ToJSON ByteSpan 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

toJSON :: ByteSpan -> Value #

toEncoding :: ByteSpan -> Encoding #

toJSONList :: [ByteSpan] -> Value #

toEncodingList :: [ByteSpan] -> Encoding #

omitField :: ByteSpan -> Bool #

ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: Tx -> Value #

toEncoding :: Tx -> Encoding #

toJSONList :: [Tx] -> Value #

toEncodingList :: [Tx] -> Encoding #

omitField :: Tx -> Bool #

ToJSON TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON :: TxInWitness -> Value #

toEncoding :: TxInWitness -> Encoding #

toJSONList :: [TxInWitness] -> Value #

toEncodingList :: [TxInWitness] -> Encoding #

omitField :: TxInWitness -> Bool #

ToJSON SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON :: SscProof -> Value #

toEncoding :: SscProof -> Encoding #

toJSONList :: [SscProof] -> Value #

toEncodingList :: [SscProof] -> Encoding #

omitField :: SscProof -> Bool #

ToJSON EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toJSON :: EpochNumber -> Value #

toEncoding :: EpochNumber -> Encoding #

toJSONList :: [EpochNumber] -> Value #

toEncodingList :: [EpochNumber] -> Encoding #

omitField :: EpochNumber -> Bool #

ToJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

toJSON :: VerificationKey -> Value #

toEncoding :: VerificationKey -> Encoding #

toJSONList :: [VerificationKey] -> Value #

toEncodingList :: [VerificationKey] -> Encoding #

omitField :: VerificationKey -> Bool #

ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toJSON :: SoftwareVersion -> Value #

toEncoding :: SoftwareVersion -> Encoding #

toJSONList :: [SoftwareVersion] -> Value #

toEncodingList :: [SoftwareVersion] -> Encoding #

omitField :: SoftwareVersion -> Bool #

ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

toJSON :: ProtocolVersion -> Value #

toEncoding :: ProtocolVersion -> Encoding #

toJSONList :: [ProtocolVersion] -> Value #

toEncodingList :: [ProtocolVersion] -> Encoding #

omitField :: ProtocolVersion -> Bool #

ToJSON SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toJSON :: SlotNumber -> Value #

toEncoding :: SlotNumber -> Encoding #

toJSONList :: [SlotNumber] -> Value #

toEncodingList :: [SlotNumber] -> Encoding #

omitField :: SlotNumber -> Bool #

ToJSON Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Methods

toJSON :: Proof -> Value #

toEncoding :: Proof -> Encoding #

toJSONList :: [Proof] -> Value #

toEncodingList :: [Proof] -> Encoding #

omitField :: Proof -> Bool #

ToJSON TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Methods

toJSON :: TxProof -> Value #

toEncoding :: TxProof -> Encoding #

toJSONList :: [TxProof] -> Value #

toEncodingList :: [TxProof] -> Encoding #

omitField :: TxProof -> Bool #

ToJSON SoftwareVersionError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: SoftwareVersionError -> Value #

toEncoding :: SoftwareVersionError -> Encoding #

toJSONList :: [SoftwareVersionError] -> Value #

toEncodingList :: [SoftwareVersionError] -> Encoding #

omitField :: SoftwareVersionError -> Bool #

ToJSON ApplicationNameError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ApplicationNameError -> Value #

toEncoding :: ApplicationNameError -> Encoding #

toJSONList :: [ApplicationNameError] -> Value #

toEncodingList :: [ApplicationNameError] -> Encoding #

omitField :: ApplicationNameError -> Bool #

ToJSON ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

toJSON :: ApplicationName -> Value #

toEncoding :: ApplicationName -> Encoding #

toJSONList :: [ApplicationName] -> Value #

toEncodingList :: [ApplicationName] -> Encoding #

omitField :: ApplicationName -> Bool #

ToJSON SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toJSON :: SoftforkRule -> Value #

toEncoding :: SoftforkRule -> Encoding #

toJSONList :: [SoftforkRule] -> Value #

toEncodingList :: [SoftforkRule] -> Encoding #

omitField :: SoftforkRule -> Bool #

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

toJSON :: CompactRedeemVerificationKey -> Value #

toEncoding :: CompactRedeemVerificationKey -> Encoding #

toJSONList :: [CompactRedeemVerificationKey] -> Value #

toEncodingList :: [CompactRedeemVerificationKey] -> Encoding #

omitField :: CompactRedeemVerificationKey -> Bool #

ToJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toJSON :: RedeemVerificationKey -> Value #

toEncoding :: RedeemVerificationKey -> Encoding #

toJSONList :: [RedeemVerificationKey] -> Value #

toEncodingList :: [RedeemVerificationKey] -> Encoding #

omitField :: RedeemVerificationKey -> Bool #

ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

omitField :: TxIn -> Bool #

ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxOut -> Value #

toEncoding :: TxOut -> Encoding #

toJSONList :: [TxOut] -> Value #

toEncodingList :: [TxOut] -> Encoding #

omitField :: TxOut -> Bool #

ToJSON TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON :: TxSigData -> Value #

toEncoding :: TxSigData -> Encoding #

toJSONList :: [TxSigData] -> Value #

toEncodingList :: [TxSigData] -> Encoding #

omitField :: TxSigData -> Bool #

ToJSON InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

toJSON :: InstallerHash -> Value #

toEncoding :: InstallerHash -> Encoding #

toJSONList :: [InstallerHash] -> Value #

toEncodingList :: [InstallerHash] -> Encoding #

omitField :: InstallerHash -> Bool #

ToJSON ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON :: ProposalBody -> Value #

toEncoding :: ProposalBody -> Encoding #

toJSONList :: [ProposalBody] -> Value #

toEncodingList :: [ProposalBody] -> Encoding #

omitField :: ProposalBody -> Bool #

ToJSON SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSON :: SystemTag -> Value #

toEncoding :: SystemTag -> Encoding #

toJSONList :: [SystemTag] -> Value #

toEncodingList :: [SystemTag] -> Encoding #

omitField :: SystemTag -> Bool #

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

Methods

toJSON :: ProtocolParametersUpdate -> Value #

toEncoding :: ProtocolParametersUpdate -> Encoding #

toJSONList :: [ProtocolParametersUpdate] -> Value #

toEncodingList :: [ProtocolParametersUpdate] -> Encoding #

omitField :: ProtocolParametersUpdate -> Bool #

ToJSON SystemTagError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: SystemTagError -> Value #

toEncoding :: SystemTagError -> Encoding #

toJSONList :: [SystemTagError] -> Value #

toEncodingList :: [SystemTagError] -> Encoding #

omitField :: SystemTagError -> 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 RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

Methods

toJSON :: RelativeTime -> Value #

toEncoding :: RelativeTime -> Encoding #

toJSONList :: [RelativeTime] -> Value #

toEncodingList :: [RelativeTime] -> Encoding #

omitField :: RelativeTime -> Bool #

ToJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

toJSON :: SatInt -> Value #

toEncoding :: SatInt -> Encoding #

toJSONList :: [SatInt] -> Value #

toEncodingList :: [SatInt] -> Encoding #

omitField :: SatInt -> Bool #

ToJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CovLoc -> Value #

toEncoding :: CovLoc -> Encoding #

toJSONList :: [CovLoc] -> Value #

toEncodingList :: [CovLoc] -> Encoding #

omitField :: CovLoc -> Bool #

ToJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageAnnotation -> Value #

toEncoding :: CoverageAnnotation -> Encoding #

toJSONList :: [CoverageAnnotation] -> Value #

toEncodingList :: [CoverageAnnotation] -> Encoding #

omitField :: CoverageAnnotation -> Bool #

ToJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageData -> Value #

toEncoding :: CoverageData -> Encoding #

toJSONList :: [CoverageData] -> Value #

toEncodingList :: [CoverageData] -> Encoding #

omitField :: CoverageData -> Bool #

ToJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageIndex -> Value #

toEncoding :: CoverageIndex -> Encoding #

toJSONList :: [CoverageIndex] -> Value #

toEncodingList :: [CoverageIndex] -> Encoding #

omitField :: CoverageIndex -> Bool #

ToJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageMetadata -> Value #

toEncoding :: CoverageMetadata -> Encoding #

toJSONList :: [CoverageMetadata] -> Value #

toEncodingList :: [CoverageMetadata] -> Encoding #

omitField :: CoverageMetadata -> Bool #

ToJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: CoverageReport -> Value #

toEncoding :: CoverageReport -> Encoding #

toJSONList :: [CoverageReport] -> Value #

toEncodingList :: [CoverageReport] -> Encoding #

omitField :: CoverageReport -> Bool #

ToJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSON :: Metadata -> Value #

toEncoding :: Metadata -> Encoding #

toJSONList :: [Metadata] -> Value #

toEncodingList :: [Metadata] -> Encoding #

omitField :: Metadata -> Bool #

ToJSON Rational 
Instance details

Defined in PlutusTx.Ratio

Methods

toJSON :: Rational -> Value #

toEncoding :: Rational -> Encoding #

toJSONList :: [Rational] -> Value #

toEncodingList :: [Rational] -> Encoding #

omitField :: Rational -> Bool #

ToJSON UTxOError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: UTxOError -> Value #

toEncoding :: UTxOError -> Encoding #

toJSONList :: [UTxOError] -> Value #

toEncodingList :: [UTxOError] -> Encoding #

omitField :: UTxOError -> Bool #

ToJSON TxValidationError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: TxValidationError -> Value #

toEncoding :: TxValidationError -> Encoding #

toJSONList :: [TxValidationError] -> Value #

toEncodingList :: [TxValidationError] -> Encoding #

omitField :: TxValidationError -> Bool #

ToJSON UTxOValidationError Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: UTxOValidationError -> Value #

toEncoding :: UTxOValidationError -> Encoding #

toJSONList :: [UTxOValidationError] -> Value #

toEncodingList :: [UTxOValidationError] -> Encoding #

omitField :: UTxOValidationError -> Bool #

ToJSON CoinPerWord 
Instance details

Defined in Cardano.Ledger.Alonzo.Core

Methods

toJSON :: CoinPerWord -> Value #

toEncoding :: CoinPerWord -> Encoding #

toJSONList :: [CoinPerWord] -> Value #

toEncodingList :: [CoinPerWord] -> Encoding #

omitField :: CoinPerWord -> Bool #

ToJSON RewardType 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSON :: RewardType -> Value #

toEncoding :: RewardType -> Encoding #

toJSONList :: [RewardType] -> Value #

toEncodingList :: [RewardType] -> Encoding #

omitField :: RewardType -> Bool #

ToJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: Coin -> Value #

toEncoding :: Coin -> Encoding #

toJSONList :: [Coin] -> Value #

toEncodingList :: [Coin] -> Encoding #

omitField :: Coin -> Bool #

ToJSON CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

toJSON :: CostModels -> Value #

toEncoding :: CostModels -> Encoding #

toJSONList :: [CostModels] -> Value #

toEncodingList :: [CostModels] -> Encoding #

omitField :: CostModels -> Bool #

ToJSON Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

toJSON :: Prices -> Value #

toEncoding :: Prices -> Encoding #

toJSONList :: [Prices] -> Value #

toEncodingList :: [Prices] -> Encoding #

omitField :: Prices -> Bool #

ToJSON ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

toJSON :: ExUnits -> Value #

toEncoding :: ExUnits -> Encoding #

toJSONList :: [ExUnits] -> Value #

toEncodingList :: [ExUnits] -> Encoding #

omitField :: ExUnits -> Bool #

ToJSON CostModel 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

toJSON :: CostModel -> Value #

toEncoding :: CostModel -> Encoding #

toJSONList :: [CostModel] -> Value #

toEncodingList :: [CostModel] -> Encoding #

omitField :: CostModel -> Bool #

ToJSON CoinPerByte 
Instance details

Defined in Cardano.Ledger.Babbage.Core

Methods

toJSON :: CoinPerByte -> Value #

toEncoding :: CoinPerByte -> Encoding #

toJSONList :: [CoinPerByte] -> Value #

toEncodingList :: [CoinPerByte] -> Encoding #

omitField :: CoinPerByte -> Bool #

ToJSON Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Ptr -> Value #

toEncoding :: Ptr -> Encoding #

toJSONList :: [Ptr] -> Value #

toEncodingList :: [Ptr] -> Encoding #

omitField :: Ptr -> Bool #

ToJSON DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: DeltaCoin -> Value #

toEncoding :: DeltaCoin -> Encoding #

toJSONList :: [DeltaCoin] -> Value #

toEncodingList :: [DeltaCoin] -> Encoding #

omitField :: DeltaCoin -> Bool #

ToJSON DRepVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.Core

ToJSON PoolVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.Core

ToJSON GovActionIx 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionIx -> Value #

toEncoding :: GovActionIx -> Encoding #

toJSONList :: [GovActionIx] -> Value #

toEncodingList :: [GovActionIx] -> Encoding #

omitField :: GovActionIx -> Bool #

ToJSON Vote 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Vote -> Value #

toEncoding :: Vote -> Encoding #

toJSONList :: [Vote] -> Value #

toEncodingList :: [Vote] -> Encoding #

omitField :: Vote -> Bool #

ToJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

toJSON :: PoolMetadata -> Value #

toEncoding :: PoolMetadata -> Encoding #

toJSONList :: [PoolMetadata] -> Value #

toEncodingList :: [PoolMetadata] -> Encoding #

omitField :: PoolMetadata -> Bool #

ToJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

ToJSON MIRPot Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: MIRPot -> Value #

toEncoding :: MIRPot -> Encoding #

toJSONList :: [MIRPot] -> Value #

toEncodingList :: [MIRPot] -> Encoding #

omitField :: MIRPot -> Bool #

ToJSON OrdExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toJSON :: OrdExUnits -> Value #

toEncoding :: OrdExUnits -> Encoding #

toJSONList :: [OrdExUnits] -> Value #

toEncodingList :: [OrdExUnits] -> Encoding #

omitField :: OrdExUnits -> Bool #

ToJSON Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

toJSON :: Language -> Value #

toEncoding :: Language -> Encoding #

toJSONList :: [Language] -> Value #

toEncodingList :: [Language] -> Encoding #

omitField :: Language -> Bool #

ToJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

toJSON :: AlonzoGenesis -> Value #

toEncoding :: AlonzoGenesis -> Encoding #

toJSONList :: [AlonzoGenesis] -> Value #

toEncodingList :: [AlonzoGenesis] -> Encoding #

omitField :: AlonzoGenesis -> Bool #

ToJSON RdmrPtr Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: RdmrPtr -> Value #

toEncoding :: RdmrPtr -> Encoding #

toJSONList :: [RdmrPtr] -> Value #

toEncodingList :: [RdmrPtr] -> Encoding #

omitField :: RdmrPtr -> Bool #

ToJSON AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

omitField :: AssetName -> Bool #

ToJSON NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: NominalDiffTimeMicro -> Value #

toEncoding :: NominalDiffTimeMicro -> Encoding #

toJSONList :: [NominalDiffTimeMicro] -> Value #

toEncodingList :: [NominalDiffTimeMicro] -> Encoding #

omitField :: NominalDiffTimeMicro -> Bool #

ToJSON AccountState 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: AccountState -> Value #

toEncoding :: AccountState -> Encoding #

toJSONList :: [AccountState] -> Value #

toEncodingList :: [AccountState] -> Encoding #

omitField :: AccountState -> Bool #

ToJSON Likelihood 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: Likelihood -> Value #

toEncoding :: Likelihood -> Encoding #

toJSONList :: [Likelihood] -> Value #

toEncodingList :: [Likelihood] -> Encoding #

omitField :: Likelihood -> Bool #

ToJSON LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: LogWeight -> Value #

toEncoding :: LogWeight -> Encoding #

toJSONList :: [LogWeight] -> Value #

toEncodingList :: [LogWeight] -> Encoding #

omitField :: LogWeight -> Bool #

ToJSON VotingPeriod Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: VotingPeriod -> Value #

toEncoding :: VotingPeriod -> Encoding #

toJSONList :: [VotingPeriod] -> Value #

toEncodingList :: [VotingPeriod] -> Encoding #

omitField :: VotingPeriod -> Bool #

ToJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras.Core

Methods

toJSON :: AnyCardanoEra -> Value #

toEncoding :: AnyCardanoEra -> Encoding #

toJSONList :: [AnyCardanoEra] -> Value #

toEncodingList :: [AnyCardanoEra] -> Encoding #

omitField :: AnyCardanoEra -> Bool #

ToJSON ByronHash Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ByronHash -> Value #

toEncoding :: ByronHash -> Encoding #

toJSONList :: [ByronHash] -> Value #

toEncodingList :: [ByronHash] -> Encoding #

omitField :: ByronHash -> Bool #

ToJSON TicknState Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: TicknState -> Value #

toEncoding :: TicknState -> Encoding #

toJSONList :: [TicknState] -> Value #

toEncodingList :: [TicknState] -> Encoding #

omitField :: TicknState -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON ApplyMempoolPayloadErr Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ApplyMempoolPayloadErr -> Value #

toEncoding :: ApplyMempoolPayloadErr -> Encoding #

toJSONList :: [ApplyMempoolPayloadErr] -> Value #

toEncodingList :: [ApplyMempoolPayloadErr] -> Encoding #

omitField :: ApplyMempoolPayloadErr -> Bool #

ToJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON :: RewardParams -> Value #

toEncoding :: RewardParams -> Encoding #

toJSONList :: [RewardParams] -> Value #

toEncodingList :: [RewardParams] -> Encoding #

omitField :: RewardParams -> Bool #

ToJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON :: RewardInfoPool -> Value #

toEncoding :: RewardInfoPool -> Encoding #

toJSONList :: [RewardInfoPool] -> Value #

toEncodingList :: [RewardInfoPool] -> Encoding #

omitField :: RewardInfoPool -> Bool #

ToJSON MemberStatus 
Instance details

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

Methods

toJSON :: MemberStatus -> Value #

toEncoding :: MemberStatus -> Encoding #

toJSONList :: [MemberStatus] -> Value #

toEncodingList :: [MemberStatus] -> Encoding #

omitField :: MemberStatus -> Bool #

ToJSON ApplicationVersion Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ApplicationVersion -> Value #

toEncoding :: ApplicationVersion -> Encoding #

toJSONList :: [ApplicationVersion] -> Value #

toEncodingList :: [ApplicationVersion] -> Encoding #

omitField :: ApplicationVersion -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Error Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Error -> Value #

toEncoding :: Error -> Encoding #

toJSONList :: [Error] -> Value #

toEncodingList :: [Error] -> Encoding #

omitField :: Error -> Bool #

ToJSON Adopted Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: Adopted -> Value #

toEncoding :: Adopted -> Encoding #

toJSONList :: [Adopted] -> Value #

toEncodingList :: [Adopted] -> Encoding #

omitField :: Adopted -> Bool #

ToJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: Desirability -> Value #

toEncoding :: Desirability -> Encoding #

toJSONList :: [Desirability] -> Value #

toEncodingList :: [Desirability] -> Encoding #

omitField :: Desirability -> Bool #

ToJSON NextEpochChange 
Instance details

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

Methods

toJSON :: NextEpochChange -> Value #

toEncoding :: NextEpochChange -> Encoding #

toJSONList :: [NextEpochChange] -> Value #

toEncodingList :: [NextEpochChange] -> Encoding #

omitField :: NextEpochChange -> Bool #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

omitField :: TxIx -> Bool #

ToJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

omitField :: TxIn -> Bool #

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxId -> Value #

toEncoding :: TxId -> Encoding #

toJSONList :: [TxId] -> Value #

toEncodingList :: [TxId] -> Encoding #

omitField :: TxId -> Bool #

ToJSON AnyShelleyBasedEra Source # 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

ToJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSON :: TextEnvelope -> Value #

toEncoding :: TextEnvelope -> Encoding #

toJSONList :: [TextEnvelope] -> Value #

toEncodingList :: [TextEnvelope] -> Encoding #

omitField :: TextEnvelope -> Bool #

ToJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: SimpleScript -> Value #

toEncoding :: SimpleScript -> Encoding #

toJSONList :: [SimpleScript] -> Value #

toEncodingList :: [SimpleScript] -> Encoding #

omitField :: SimpleScript -> Bool #

ToJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptHash -> Value #

toEncoding :: ScriptHash -> Encoding #

toJSONList :: [ScriptHash] -> Value #

toEncodingList :: [ScriptHash] -> Encoding #

omitField :: ScriptHash -> Bool #

ToJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

ToJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

ToJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Value -> Value0 #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value0 #

toEncodingList :: [Value] -> Encoding #

omitField :: Value -> Bool #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

omitField :: AssetName -> Bool #

ToJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: PolicyId -> Value #

toEncoding :: PolicyId -> Encoding #

toJSONList :: [PolicyId] -> Value #

toEncodingList :: [PolicyId] -> Encoding #

omitField :: PolicyId -> Bool #

ToJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Quantity -> Value #

toEncoding :: Quantity -> Encoding #

toJSONList :: [Quantity] -> Value #

toEncodingList :: [Quantity] -> Encoding #

omitField :: Quantity -> Bool #

ToJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Lovelace -> Value #

toEncoding :: Lovelace -> Encoding #

toJSONList :: [Lovelace] -> Value #

toEncodingList :: [Lovelace] -> Encoding #

omitField :: Lovelace -> Bool #

ToJSON StakeCredential Source # 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.ProtocolParameters

ToJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: PraosNonce -> Value #

toEncoding :: PraosNonce -> Encoding #

toJSONList :: [PraosNonce] -> Value #

toEncodingList :: [PraosNonce] -> Encoding #

omitField :: PraosNonce -> Bool #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON ScriptWitnessIndex Source # 
Instance details

Defined in Cardano.Api.TxBody

ToJSON TextEnvelopeCddl Source # 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

ToJSON TxValidationErrorInCardanoMode Source # 
Instance details

Defined in Cardano.Api.InMode

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

Defined in Cardano.Api.Rewards

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

Defined in Cardano.Api.IPC

ToJSON a => ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: [a] -> Value #

toEncoding :: [a] -> Encoding #

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

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

omitField :: [a] -> Bool #

ToJSON a => ToJSON (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, 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 (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 (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 (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 (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: WrappedMonoid a -> Value #

toEncoding :: WrappedMonoid a -> Encoding #

toJSONList :: [WrappedMonoid a] -> Value #

toEncodingList :: [WrappedMonoid a] -> Encoding #

omitField :: WrappedMonoid a -> Bool #

ToJSON a => ToJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Option a -> Value #

toEncoding :: Option a -> Encoding #

toJSONList :: [Option a] -> Value #

toEncodingList :: [Option a] -> Encoding #

omitField :: Option 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 (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 (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 (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 #

Crypto c => ToJSON (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Anchor c -> Value #

toEncoding :: Anchor c -> Encoding #

toJSONList :: [Anchor c] -> Value #

toEncodingList :: [Anchor c] -> Encoding #

omitField :: Anchor c -> Bool #

Crypto c => ToJSON (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: BlocksMade c -> Value #

toEncoding :: BlocksMade c -> Encoding #

toJSONList :: [BlocksMade c] -> Value #

toEncodingList :: [BlocksMade c] -> Encoding #

omitField :: BlocksMade c -> Bool #

ToJSON a => ToJSON (WithOrigin a) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: WithOrigin a -> Value #

toEncoding :: WithOrigin a -> Encoding #

toJSONList :: [WithOrigin a] -> Value #

toEncodingList :: [WithOrigin a] -> Encoding #

omitField :: WithOrigin a -> Bool #

ToJSON a => ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSON :: StrictMaybe a -> Value #

toEncoding :: StrictMaybe a -> Encoding #

toJSONList :: [StrictMaybe a] -> Value #

toEncodingList :: [StrictMaybe a] -> Encoding #

omitField :: StrictMaybe a -> Bool #

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 #

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 (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 (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

Methods

toJSON :: StrictSeq a -> Value #

toEncoding :: StrictSeq a -> Encoding #

toJSONList :: [StrictSeq a] -> Value #

toEncodingList :: [StrictSeq a] -> Encoding #

omitField :: StrictSeq a -> Bool #

ToJSON (CekMachineCostsBase Maybe) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

toJSON :: CekMachineCostsBase Maybe -> Value #

toEncoding :: CekMachineCostsBase Maybe -> Encoding #

toJSONList :: [CekMachineCostsBase Maybe] -> Value #

toEncodingList :: [CekMachineCostsBase Maybe] -> Encoding #

omitField :: CekMachineCostsBase Maybe -> Bool #

ToJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

toJSON :: CekMachineCostsBase Identity -> Value #

toEncoding :: CekMachineCostsBase Identity -> Encoding #

toJSONList :: [CekMachineCostsBase Identity] -> Value #

toEncodingList :: [CekMachineCostsBase Identity] -> Encoding #

omitField :: CekMachineCostsBase Identity -> 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 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 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 #

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

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

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

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

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash DRepKey -> Value #

toEncoding :: Hash DRepKey -> Encoding #

toJSONList :: [Hash DRepKey] -> Value #

toEncodingList :: [Hash DRepKey] -> Encoding #

omitField :: Hash DRepKey -> Bool #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash GenesisKey -> Value #

toEncoding :: Hash GenesisKey -> Encoding #

toJSONList :: [Hash GenesisKey] -> Value #

toEncodingList :: [Hash GenesisKey] -> Encoding #

omitField :: Hash GenesisKey -> Bool #

ToJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

omitField :: Hash ScriptData -> Bool #

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

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

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

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

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

Defined in Cardano.Chain.Common.Attributes

Methods

toJSON :: Attributes a -> Value #

toEncoding :: Attributes a -> Encoding #

toJSONList :: [Attributes a] -> Value #

toEncodingList :: [Attributes a] -> Encoding #

omitField :: Attributes a -> Bool #

ToJSON a => ToJSON (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

toJSON :: MerkleRoot a -> Value #

toEncoding :: MerkleRoot a -> Encoding #

toJSONList :: [MerkleRoot a] -> Value #

toEncodingList :: [MerkleRoot a] -> Encoding #

omitField :: MerkleRoot a -> Bool #

ToJSON a => ToJSON (ABody a) 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

toJSON :: ABody a -> Value #

toEncoding :: ABody a -> Encoding #

toJSONList :: [ABody a] -> Value #

toEncodingList :: [ABody a] -> Encoding #

omitField :: ABody a -> Bool #

ToJSON a => ToJSON (AVote a) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toJSON :: AVote a -> Value #

toEncoding :: AVote a -> Encoding #

toJSONList :: [AVote a] -> Value #

toEncodingList :: [AVote a] -> Encoding #

omitField :: AVote a -> Bool #

ToJSON a => ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSON :: ATxAux a -> Value #

toEncoding :: ATxAux a -> Encoding #

toJSONList :: [ATxAux a] -> Value #

toEncodingList :: [ATxAux a] -> Encoding #

omitField :: ATxAux a -> Bool #

ToJSON a => ToJSON (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toJSON :: ACertificate a -> Value #

toEncoding :: ACertificate a -> Encoding #

toJSONList :: [ACertificate a] -> Value #

toEncodingList :: [ACertificate a] -> Encoding #

omitField :: ACertificate a -> Bool #

ToJSON a => ToJSON (AProposal a) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON :: AProposal a -> Value #

toEncoding :: AProposal a -> Encoding #

toJSONList :: [AProposal a] -> Value #

toEncodingList :: [AProposal a] -> Encoding #

omitField :: AProposal a -> Bool #

ToJSON a => ToJSON (ATxPayload a) 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Methods

toJSON :: ATxPayload a -> Value #

toEncoding :: ATxPayload a -> Encoding #

toJSONList :: [ATxPayload a] -> Value #

toEncodingList :: [ATxPayload a] -> Encoding #

omitField :: ATxPayload a -> Bool #

ToJSON a => ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.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 (APayload a) 
Instance details

Defined in Cardano.Chain.Update.Payload

Methods

toJSON :: APayload a -> Value #

toEncoding :: APayload a -> Encoding #

toJSONList :: [APayload a] -> Value #

toEncodingList :: [APayload a] -> Encoding #

omitField :: APayload a -> Bool #

ToJSON a => ToJSON (ABlockSignature a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON :: ABlockSignature a -> Value #

toEncoding :: ABlockSignature a -> Encoding #

toJSONList :: [ABlockSignature a] -> Value #

toEncodingList :: [ABlockSignature a] -> Encoding #

omitField :: ABlockSignature a -> Bool #

ToJSON a => ToJSON (ABoundaryHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON :: ABoundaryHeader a -> Value #

toEncoding :: ABoundaryHeader a -> Encoding #

toJSONList :: [ABoundaryHeader a] -> Value #

toEncodingList :: [ABoundaryHeader a] -> Encoding #

omitField :: ABoundaryHeader a -> Bool #

ToJSON a => ToJSON (AHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON :: AHeader a -> Value #

toEncoding :: AHeader a -> Encoding #

toJSONList :: [AHeader a] -> Value #

toEncodingList :: [AHeader a] -> Encoding #

omitField :: AHeader a -> Bool #

ToJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

toJSON :: Signature w -> Value #

toEncoding :: Signature w -> Encoding #

toJSONList :: [Signature w] -> Value #

toEncodingList :: [Signature w] -> Encoding #

omitField :: Signature w -> Bool #

ToJSON a => ToJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

toJSON :: RedeemSignature a -> Value #

toEncoding :: RedeemSignature a -> Encoding #

toJSONList :: [RedeemSignature a] -> Value #

toEncodingList :: [RedeemSignature a] -> Encoding #

omitField :: RedeemSignature a -> Bool #

Crypto c => ToJSON (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSON :: GenDelegPair c -> Value #

toEncoding :: GenDelegPair c -> Encoding #

toJSONList :: [GenDelegPair c] -> Value #

toEncodingList :: [GenDelegPair c] -> Encoding #

omitField :: GenDelegPair c -> Bool #

Crypto c => ToJSON (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSON :: GenDelegs c -> Value #

toEncoding :: GenDelegs c -> Encoding #

toJSONList :: [GenDelegs c] -> Value #

toEncodingList :: [GenDelegs c] -> Encoding #

omitField :: GenDelegs c -> Bool #

ToJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON :: BuiltinCostModelBase CostingFun -> Value #

toEncoding :: BuiltinCostModelBase CostingFun -> Encoding #

toJSONList :: [BuiltinCostModelBase CostingFun] -> Value #

toEncodingList :: [BuiltinCostModelBase CostingFun] -> Encoding #

omitField :: BuiltinCostModelBase CostingFun -> Bool #

ToJSON (BuiltinCostModelBase MCostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON :: BuiltinCostModelBase MCostingFun -> Value #

toEncoding :: BuiltinCostModelBase MCostingFun -> Encoding #

toJSONList :: [BuiltinCostModelBase MCostingFun] -> Value #

toEncodingList :: [BuiltinCostModelBase MCostingFun] -> Encoding #

omitField :: BuiltinCostModelBase MCostingFun -> Bool #

ToJSON a => ToJSON (MCostingFun a) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON :: MCostingFun a -> Value #

toEncoding :: MCostingFun a -> Encoding #

toJSONList :: [MCostingFun a] -> Value #

toEncodingList :: [MCostingFun a] -> Encoding #

omitField :: MCostingFun a -> Bool #

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

Defined in Cardano.Ledger.Core.PParams

Methods

toJSON :: PParams era -> Value #

toEncoding :: PParams era -> Encoding #

toJSONList :: [PParams era] -> Value #

toEncodingList :: [PParams era] -> Encoding #

omitField :: PParams era -> Bool #

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

Defined in Cardano.Ledger.Core.PParams

Methods

toJSON :: PParamsUpdate era -> Value #

toEncoding :: PParamsUpdate era -> Encoding #

toJSONList :: [PParamsUpdate era] -> Value #

toEncodingList :: [PParamsUpdate era] -> Encoding #

omitField :: PParamsUpdate era -> Bool #

ToJSON (PoolCert StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Crypto c => ToJSON (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: ScriptHash c -> Value #

toEncoding :: ScriptHash c -> Encoding #

toJSONList :: [ScriptHash c] -> Value #

toEncodingList :: [ScriptHash c] -> Encoding #

omitField :: ScriptHash c -> Bool #

Crypto c => ToJSON (Reward c) 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSON :: Reward c -> Value #

toEncoding :: Reward c -> Encoding #

toJSONList :: [Reward c] -> Value #

toEncodingList :: [Reward c] -> Encoding #

omitField :: Reward c -> Bool #

Era era => ToJSON (Constitution era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Methods

toJSON :: Constitution era -> Value #

toEncoding :: Constitution era -> Encoding #

toJSONList :: [Constitution era] -> Value #

toEncodingList :: [Constitution era] -> Encoding #

omitField :: Constitution era -> Bool #

EraPParams era => ToJSON (ShelleyGovState era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Methods

toJSON :: ShelleyGovState era -> Value #

toEncoding :: ShelleyGovState era -> Encoding #

toJSONList :: [ShelleyGovState era] -> Value #

toEncodingList :: [ShelleyGovState era] -> Encoding #

omitField :: ShelleyGovState era -> Bool #

Crypto c => ToJSON (TxIn c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSON :: TxIn c -> Value #

toEncoding :: TxIn c -> Encoding #

toJSONList :: [TxIn c] -> Value #

toEncodingList :: [TxIn c] -> Encoding #

omitField :: TxIn c -> Bool #

Era era => ToJSON (Datum era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Methods

toJSON :: Datum era -> Value #

toEncoding :: Datum era -> Encoding #

toJSONList :: [Datum era] -> Value #

toEncodingList :: [Datum era] -> Encoding #

omitField :: Datum era -> Bool #

Era era => ToJSON (AlonzoScript era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSON :: AlonzoScript era -> Value #

toEncoding :: AlonzoScript era -> Encoding #

toJSONList :: [AlonzoScript era] -> Value #

toEncodingList :: [AlonzoScript era] -> Encoding #

omitField :: AlonzoScript era -> Bool #

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

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

toJSON :: ExUnits' a -> Value #

toEncoding :: ExUnits' a -> Encoding #

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

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

omitField :: ExUnits' a -> Bool #

Era era => ToJSON (CertState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: CertState era -> Value #

toEncoding :: CertState era -> Encoding #

toJSONList :: [CertState era] -> Value #

toEncodingList :: [CertState era] -> Encoding #

omitField :: CertState era -> Bool #

Era era => ToJSON (CommitteeState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: CommitteeState era -> Value #

toEncoding :: CommitteeState era -> Encoding #

toJSONList :: [CommitteeState era] -> Value #

toEncodingList :: [CommitteeState era] -> Encoding #

omitField :: CommitteeState era -> Bool #

Era era => ToJSON (DState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: DState era -> Value #

toEncoding :: DState era -> Encoding #

toJSONList :: [DState era] -> Value #

toEncodingList :: [DState era] -> Encoding #

omitField :: DState era -> Bool #

Crypto c => ToJSON (FutureGenDeleg c) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: FutureGenDeleg c -> Value #

toEncoding :: FutureGenDeleg c -> Encoding #

toJSONList :: [FutureGenDeleg c] -> Value #

toEncodingList :: [FutureGenDeleg c] -> Encoding #

omitField :: FutureGenDeleg c -> Bool #

Crypto c => ToJSON (InstantaneousRewards c) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: InstantaneousRewards c -> Value #

toEncoding :: InstantaneousRewards c -> Encoding #

toJSONList :: [InstantaneousRewards c] -> Value #

toEncodingList :: [InstantaneousRewards c] -> Encoding #

omitField :: InstantaneousRewards c -> Bool #

Era era => ToJSON (PState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSON :: PState era -> Value #

toEncoding :: PState era -> Encoding #

toJSONList :: [PState era] -> Value #

toEncodingList :: [PState era] -> Encoding #

omitField :: PState era -> Bool #

Crypto c => ToJSON (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSON :: DRep c -> Value #

toEncoding :: DRep c -> Encoding #

toJSONList :: [DRep c] -> Value #

toEncodingList :: [DRep c] -> Encoding #

omitField :: DRep c -> Bool #

Crypto c => ToJSON (DRepState c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSON :: DRepState c -> Value #

toEncoding :: DRepState c -> Encoding #

toJSONList :: [DRepState c] -> Value #

toEncodingList :: [DRepState c] -> Encoding #

omitField :: DRepState c -> Bool #

Crypto c => ToJSON (UMap c) 
Instance details

Defined in Cardano.Ledger.UMap

Methods

toJSON :: UMap c -> Value #

toEncoding :: UMap c -> Encoding #

toJSONList :: [UMap c] -> Value #

toEncodingList :: [UMap c] -> Encoding #

omitField :: UMap c -> Bool #

Crypto c => ToJSON (UMElem c) 
Instance details

Defined in Cardano.Ledger.UMap

Methods

toJSON :: UMElem c -> Value #

toEncoding :: UMElem c -> Encoding #

toJSONList :: [UMElem c] -> Value #

toEncodingList :: [UMElem c] -> Encoding #

omitField :: UMElem c -> Bool #

Crypto c => ToJSON (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

toJSON :: PoolParams c -> Value #

toEncoding :: PoolParams c -> Encoding #

toJSONList :: [PoolParams c] -> Value #

toEncodingList :: [PoolParams c] -> Encoding #

omitField :: PoolParams c -> Bool #

ToJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: CompactForm Coin -> Value #

toEncoding :: CompactForm Coin -> Encoding #

toJSONList :: [CompactForm Coin] -> Value #

toEncodingList :: [CompactForm Coin] -> Encoding #

omitField :: CompactForm Coin -> Bool #

ToJSON (CompactForm DeltaCoin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: CompactForm DeltaCoin -> Value #

toEncoding :: CompactForm DeltaCoin -> Encoding #

toJSONList :: [CompactForm DeltaCoin] -> Value #

toEncodingList :: [CompactForm DeltaCoin] -> Encoding #

omitField :: CompactForm DeltaCoin -> Bool #

EraPParams era => ToJSON (ConwayGovState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

toJSON :: ConwayGovState era -> Value #

toEncoding :: ConwayGovState era -> Encoding #

toJSONList :: [ConwayGovState era] -> Value #

toEncodingList :: [ConwayGovState era] -> Encoding #

omitField :: ConwayGovState era -> Bool #

EraPParams era => ToJSON (EnactState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

toJSON :: EnactState era -> Value #

toEncoding :: EnactState era -> Encoding #

toJSONList :: [EnactState era] -> Value #

toEncodingList :: [EnactState era] -> Encoding #

omitField :: EnactState era -> Bool #

Era era => ToJSON (PrevGovActionIds era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

toJSON :: PrevGovActionIds era -> Value #

toEncoding :: PrevGovActionIds era -> Encoding #

toJSONList :: [PrevGovActionIds era] -> Value #

toEncodingList :: [PrevGovActionIds era] -> Encoding #

omitField :: PrevGovActionIds era -> Bool #

EraPParams era => ToJSON (PulsingSnapshot era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

toJSON :: PulsingSnapshot era -> Value #

toEncoding :: PulsingSnapshot era -> Encoding #

toJSONList :: [PulsingSnapshot era] -> Value #

toEncodingList :: [PulsingSnapshot era] -> Encoding #

omitField :: PulsingSnapshot era -> Bool #

EraPParams era => ToJSON (RatifyState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

toJSON :: RatifyState era -> Value #

toEncoding :: RatifyState era -> Encoding #

toJSONList :: [RatifyState era] -> Value #

toEncodingList :: [RatifyState era] -> Encoding #

omitField :: RatifyState era -> Bool #

EraPParams era => ToJSON (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Committee era -> Value #

toEncoding :: Committee era -> Encoding #

toJSONList :: [Committee era] -> Value #

toEncodingList :: [Committee era] -> Encoding #

omitField :: Committee era -> Bool #

EraPParams era => ToJSON (GovAction era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovAction era -> Value #

toEncoding :: GovAction era -> Encoding #

toJSONList :: [GovAction era] -> Value #

toEncodingList :: [GovAction era] -> Encoding #

omitField :: GovAction era -> Bool #

Crypto c => ToJSON (GovActionId c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionId c -> Value #

toEncoding :: GovActionId c -> Encoding #

toJSONList :: [GovActionId c] -> Value #

toEncodingList :: [GovActionId c] -> Encoding #

omitField :: GovActionId c -> Bool #

EraPParams era => ToJSON (GovActionState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: GovActionState era -> Value #

toEncoding :: GovActionState era -> Encoding #

toJSONList :: [GovActionState era] -> Value #

toEncodingList :: [GovActionState era] -> Encoding #

omitField :: GovActionState era -> Bool #

EraPParams era => ToJSON (ProposalProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: ProposalProcedure era -> Value #

toEncoding :: ProposalProcedure era -> Encoding #

toJSONList :: [ProposalProcedure era] -> Value #

toEncodingList :: [ProposalProcedure era] -> Encoding #

omitField :: ProposalProcedure era -> Bool #

Crypto c => ToJSON (Voter c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: Voter c -> Value #

toEncoding :: Voter c -> Encoding #

toJSONList :: [Voter c] -> Value #

toEncodingList :: [Voter c] -> Encoding #

omitField :: Voter c -> Bool #

EraPParams era => ToJSON (VotingProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: VotingProcedure era -> Value #

toEncoding :: VotingProcedure era -> Encoding #

toJSONList :: [VotingProcedure era] -> Value #

toEncodingList :: [VotingProcedure era] -> Encoding #

omitField :: VotingProcedure era -> Bool #

EraPParams era => ToJSON (VotingProcedures era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: VotingProcedures era -> Value #

toEncoding :: VotingProcedures era -> Encoding #

toJSONList :: [VotingProcedures era] -> Value #

toEncodingList :: [VotingProcedures era] -> Encoding #

omitField :: VotingProcedures era -> Bool #

EraPParams era => ToJSON (Proposals era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Methods

toJSON :: Proposals era -> Value #

toEncoding :: Proposals era -> Encoding #

toJSONList :: [Proposals era] -> Value #

toEncodingList :: [Proposals era] -> Encoding #

omitField :: Proposals era -> Bool #

Crypto c => ToJSON (IndividualPoolStake c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

toJSON :: IndividualPoolStake c -> Value #

toEncoding :: IndividualPoolStake c -> Encoding #

toJSONList :: [IndividualPoolStake c] -> Value #

toEncodingList :: [IndividualPoolStake c] -> Encoding #

omitField :: IndividualPoolStake c -> Bool #

EraPParams era => ToJSON (ProposedPPUpdates era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON :: ProposedPPUpdates era -> Value #

toEncoding :: ProposedPPUpdates era -> Encoding #

toJSONList :: [ProposedPPUpdates era] -> Value #

toEncodingList :: [ProposedPPUpdates era] -> Encoding #

omitField :: ProposedPPUpdates era -> Bool #

Crypto c => ToJSON (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSON :: TxId c -> Value #

toEncoding :: TxId c -> Encoding #

toJSONList :: [TxId c] -> Value #

toEncodingList :: [TxId c] -> Encoding #

omitField :: TxId c -> Bool #

Crypto c => ToJSON (PoolDistr c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

toJSON :: PoolDistr c -> Value #

toEncoding :: PoolDistr c -> Encoding #

toJSONList :: [PoolDistr c] -> Value #

toEncodingList :: [PoolDistr c] -> Encoding #

omitField :: PoolDistr c -> Bool #

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

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: EpochState era -> Value #

toEncoding :: EpochState era -> Encoding #

toJSONList :: [EpochState era] -> Value #

toEncodingList :: [EpochState era] -> Encoding #

omitField :: EpochState era -> Bool #

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

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: LedgerState era -> Value #

toEncoding :: LedgerState era -> Encoding #

toJSONList :: [LedgerState era] -> Value #

toEncodingList :: [LedgerState era] -> Encoding #

omitField :: LedgerState era -> Bool #

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

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: UTxOState era -> Value #

toEncoding :: UTxOState era -> Encoding #

toJSONList :: [UTxOState era] -> Value #

toEncodingList :: [UTxOState era] -> Encoding #

omitField :: UTxOState era -> Bool #

Show (ConwayTxCert c) => ToJSON (ConwayTxCert c) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ConwayTxCert c -> Value #

toEncoding :: ConwayTxCert c -> Encoding #

toJSONList :: [ConwayTxCert c] -> Value #

toEncodingList :: [ConwayTxCert c] -> Encoding #

omitField :: ConwayTxCert c -> Bool #

ToJSON (GenesisDelegCert StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON (MIRCert StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON (ShelleyDelegCert StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

ToJSON (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: Addr c -> Value #

toEncoding :: Addr c -> Encoding #

toJSONList :: [Addr c] -> Value #

toEncodingList :: [Addr c] -> Encoding #

omitField :: Addr c -> Bool #

Crypto c => ToJSON (AuxiliaryDataHash c) 
Instance details

Defined in Cardano.Ledger.AuxiliaryData

Methods

toJSON :: AuxiliaryDataHash c -> Value #

toEncoding :: AuxiliaryDataHash c -> Encoding #

toJSONList :: [AuxiliaryDataHash c] -> Value #

toEncodingList :: [AuxiliaryDataHash c] -> Encoding #

omitField :: AuxiliaryDataHash c -> Bool #

Crypto c => ToJSON (StakeReference c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: StakeReference c -> Value #

toEncoding :: StakeReference c -> Encoding #

toJSONList :: [StakeReference c] -> Value #

toEncodingList :: [StakeReference c] -> Encoding #

omitField :: StakeReference c -> Bool #

Crypto c => ToJSON (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: RewardAcnt c -> Value #

toEncoding :: RewardAcnt c -> Encoding #

toJSONList :: [RewardAcnt c] -> Value #

toEncodingList :: [RewardAcnt c] -> Encoding #

omitField :: RewardAcnt c -> Bool #

ToJSON (MIRTarget StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

(Crypto (EraCrypto ledgerera), ToJSON (GenesisDelegCert (EraCrypto ledgerera)), ToJSON (MIRCert (EraCrypto ledgerera)), ToJSON (PoolCert (EraCrypto ledgerera)), ToJSON (ShelleyDelegCert (EraCrypto ledgerera))) => ToJSON (ShelleyTxCert ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyTxCert ledgerera -> Value #

toEncoding :: ShelleyTxCert ledgerera -> Encoding #

toJSONList :: [ShelleyTxCert ledgerera] -> Value #

toEncodingList :: [ShelleyTxCert ledgerera] -> Encoding #

omitField :: ShelleyTxCert ledgerera -> Bool #

ToJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: UpgradeConwayPParams Identity -> Value #

toEncoding :: UpgradeConwayPParams Identity -> Encoding #

toJSONList :: [UpgradeConwayPParams Identity] -> Value #

toEncodingList :: [UpgradeConwayPParams Identity] -> Encoding #

omitField :: UpgradeConwayPParams Identity -> Bool #

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

Defined in Cardano.Ledger.Babbage.TxOut

Methods

toJSON :: BabbageTxOut era -> Value #

toEncoding :: BabbageTxOut era -> Encoding #

toJSONList :: [BabbageTxOut era] -> Value #

toEncodingList :: [BabbageTxOut era] -> Encoding #

omitField :: BabbageTxOut era -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ApplyTxError ledgerera -> Value #

toEncoding :: ApplyTxError ledgerera -> Encoding #

toJSONList :: [ApplyTxError ledgerera] -> Value #

toEncodingList :: [ApplyTxError ledgerera] -> Encoding #

omitField :: ApplyTxError ledgerera -> Bool #

Crypto c => ToJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesis c -> Value #

toEncoding :: ShelleyGenesis c -> Encoding #

toJSONList :: [ShelleyGenesis c] -> Value #

toEncodingList :: [ShelleyGenesis c] -> Encoding #

omitField :: ShelleyGenesis c -> Bool #

Crypto c => ToJSON (MaryValue c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: MaryValue c -> Value #

toEncoding :: MaryValue c -> Encoding #

toJSONList :: [MaryValue c] -> Value #

toEncodingList :: [MaryValue c] -> Encoding #

omitField :: MaryValue c -> Bool #

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

Defined in Cardano.Ledger.UTxO

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

omitField :: UTxO era -> Bool #

(Crypto (EraCrypto ledgerera), ToJSON (TxCert ledgerera)) => ToJSON (ScriptPurpose ledgerera) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ScriptPurpose ledgerera -> Value #

toEncoding :: ScriptPurpose ledgerera -> Encoding #

toJSONList :: [ScriptPurpose ledgerera] -> Value #

toEncodingList :: [ScriptPurpose ledgerera] -> Encoding #

omitField :: ScriptPurpose ledgerera -> Bool #

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

Defined in Cardano.Ledger.Shelley.Transition

Methods

toJSON :: TransitionConfig (ShelleyEra c) -> Value #

toEncoding :: TransitionConfig (ShelleyEra c) -> Encoding #

toJSONList :: [TransitionConfig (ShelleyEra c)] -> Value #

toEncodingList :: [TransitionConfig (ShelleyEra c)] -> Encoding #

omitField :: TransitionConfig (ShelleyEra c) -> Bool #

Crypto c => ToJSON (PulsingRewUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toJSON :: PulsingRewUpdate c -> Value #

toEncoding :: PulsingRewUpdate c -> Encoding #

toJSONList :: [PulsingRewUpdate c] -> Value #

toEncodingList :: [PulsingRewUpdate c] -> Encoding #

omitField :: PulsingRewUpdate c -> Bool #

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

Defined in Cardano.Ledger.Alonzo.TxOut

Methods

toJSON :: AlonzoTxOut era -> Value #

toEncoding :: AlonzoTxOut era -> Encoding #

toJSONList :: [AlonzoTxOut era] -> Value #

toEncodingList :: [AlonzoTxOut era] -> Encoding #

omitField :: AlonzoTxOut era -> Bool #

Crypto c => ToJSON (IncrementalStake c) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSON :: IncrementalStake c -> Value #

toEncoding :: IncrementalStake c -> Encoding #

toJSONList :: [IncrementalStake c] -> Value #

toEncodingList :: [IncrementalStake c] -> Encoding #

omitField :: IncrementalStake c -> Bool #

Crypto c => ToJSON (SnapShots c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSON :: SnapShots c -> Value #

toEncoding :: SnapShots c -> Encoding #

toJSONList :: [SnapShots c] -> Value #

toEncodingList :: [SnapShots c] -> Encoding #

omitField :: SnapShots c -> Bool #

Crypto crypto => ToJSON (NonMyopic crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSON :: NonMyopic crypto -> Value #

toEncoding :: NonMyopic crypto -> Encoding #

toJSONList :: [NonMyopic crypto] -> Value #

toEncodingList :: [NonMyopic crypto] -> Encoding #

omitField :: NonMyopic crypto -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyLedgerPredFailure ledgerera -> Value #

toEncoding :: ShelleyLedgerPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyLedgerPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyLedgerPredFailure ledgerera] -> Encoding #

omitField :: ShelleyLedgerPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: BabbageUtxowPredFailure ledgerera -> Value #

toEncoding :: BabbageUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [BabbageUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [BabbageUtxowPredFailure ledgerera] -> Encoding #

omitField :: BabbageUtxowPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyDelegsPredFailure ledgerera -> Value #

toEncoding :: ShelleyDelegsPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyDelegsPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyDelegsPredFailure ledgerera] -> Encoding #

omitField :: ShelleyDelegsPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: AlonzoUtxowPredFailure ledgerera -> Value #

toEncoding :: AlonzoUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [AlonzoUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [AlonzoUtxowPredFailure ledgerera] -> Encoding #

omitField :: AlonzoUtxowPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: BabbageUtxoPredFailure ledgerera -> Value #

toEncoding :: BabbageUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [BabbageUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [BabbageUtxoPredFailure ledgerera] -> Encoding #

omitField :: BabbageUtxoPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyUtxowPredFailure ledgerera -> Value #

toEncoding :: ShelleyUtxowPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyUtxowPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyUtxowPredFailure ledgerera] -> Encoding #

omitField :: ShelleyUtxowPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: AlonzoUtxoPredFailure ledgerera -> Value #

toEncoding :: AlonzoUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [AlonzoUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [AlonzoUtxoPredFailure ledgerera] -> Encoding #

omitField :: AlonzoUtxoPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: AllegraUtxoPredFailure ledgerera -> Value #

toEncoding :: AllegraUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [AllegraUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [AllegraUtxoPredFailure ledgerera] -> Encoding #

omitField :: AllegraUtxoPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyUtxoPredFailure ledgerera -> Value #

toEncoding :: ShelleyUtxoPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyUtxoPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyUtxoPredFailure ledgerera] -> Encoding #

omitField :: ShelleyUtxoPredFailure ledgerera -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyPpupPredFailure ledgerera -> Value #

toEncoding :: ShelleyPpupPredFailure ledgerera -> Encoding #

toJSONList :: [ShelleyPpupPredFailure ledgerera] -> Value #

toEncodingList :: [ShelleyPpupPredFailure ledgerera] -> Encoding #

omitField :: ShelleyPpupPredFailure ledgerera -> Bool #

Crypto c => ToJSON (MultiAsset c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: MultiAsset c -> Value #

toEncoding :: MultiAsset c -> Encoding #

toJSONList :: [MultiAsset c] -> Value #

toEncodingList :: [MultiAsset c] -> Encoding #

omitField :: MultiAsset c -> Bool #

Crypto c => ToJSON (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSON :: PolicyID c -> Value #

toEncoding :: PolicyID c -> Encoding #

toJSONList :: [PolicyID c] -> Value #

toEncodingList :: [PolicyID c] -> Encoding #

omitField :: PolicyID c -> Bool #

Crypto c => ToJSON (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesisStaking c -> Value #

toEncoding :: ShelleyGenesisStaking c -> Encoding #

toJSONList :: [ShelleyGenesisStaking c] -> Value #

toEncodingList :: [ShelleyGenesisStaking c] -> Encoding #

omitField :: ShelleyGenesisStaking c -> Bool #

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

Defined in Cardano.Ledger.Shelley.TxOut

Methods

toJSON :: ShelleyTxOut era -> Value #

toEncoding :: ShelleyTxOut era -> Encoding #

toJSONList :: [ShelleyTxOut era] -> Value #

toEncodingList :: [ShelleyTxOut era] -> Encoding #

omitField :: ShelleyTxOut era -> Bool #

Crypto c => ToJSON (RewardUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toJSON :: RewardUpdate c -> Value #

toEncoding :: RewardUpdate c -> Encoding #

toJSONList :: [RewardUpdate c] -> Value #

toEncodingList :: [RewardUpdate c] -> Encoding #

omitField :: RewardUpdate c -> Bool #

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

Defined in Cardano.Api.Via.ShowOf

Methods

toJSON :: ShowOf a -> Value #

toEncoding :: ShowOf a -> Encoding #

toJSONList :: [ShowOf a] -> Value #

toEncodingList :: [ShowOf a] -> Encoding #

omitField :: ShowOf a -> Bool #

Crypto c => ToJSON (SnapShot c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSON :: SnapShot c -> Value #

toEncoding :: SnapShot c -> Encoding #

toJSONList :: [SnapShot c] -> Value #

toEncodingList :: [SnapShot c] -> Encoding #

omitField :: SnapShot c -> Bool #

Crypto c => ToJSON (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

toJSON :: ConwayGenesis c -> Value #

toEncoding :: ConwayGenesis c -> Encoding #

toJSONList :: [ConwayGenesis c] -> Value #

toEncodingList :: [ConwayGenesis c] -> Encoding #

omitField :: ConwayGenesis c -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ConwayLedgerPredFailure ledgerera -> Value #

toEncoding :: ConwayLedgerPredFailure ledgerera -> Encoding #

toJSONList :: [ConwayLedgerPredFailure ledgerera] -> Value #

toEncodingList :: [ConwayLedgerPredFailure ledgerera] -> Encoding #

omitField :: ConwayLedgerPredFailure ledgerera -> Bool #

ToJSON (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Eras.Core

Methods

toJSON :: CardanoEra era -> Value #

toEncoding :: CardanoEra era -> Encoding #

toJSONList :: [CardanoEra era] -> Value #

toEncodingList :: [CardanoEra era] -> Encoding #

omitField :: CardanoEra era -> Bool #

ToJSON (PraosState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: PraosState StandardCrypto -> Value #

toEncoding :: PraosState StandardCrypto -> Encoding #

toJSONList :: [PraosState StandardCrypto] -> Value #

toEncodingList :: [PraosState StandardCrypto] -> Encoding #

omitField :: PraosState StandardCrypto -> Bool #

ToJSON (TPraosState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: TPraosState StandardCrypto -> Value #

toEncoding :: TPraosState StandardCrypto -> Encoding #

toJSONList :: [TPraosState StandardCrypto] -> Value #

toEncodingList :: [TPraosState StandardCrypto] -> Encoding #

omitField :: TPraosState StandardCrypto -> Bool #

ToJSON (ChainDepState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: ChainDepState StandardCrypto -> Value #

toEncoding :: ChainDepState StandardCrypto -> Encoding #

toJSONList :: [ChainDepState StandardCrypto] -> Value #

toEncodingList :: [ChainDepState StandardCrypto] -> Encoding #

omitField :: ChainDepState StandardCrypto -> Bool #

ToJSON (PrtclState StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: PrtclState StandardCrypto -> Value #

toEncoding :: PrtclState StandardCrypto -> Encoding #

toJSONList :: [PrtclState StandardCrypto] -> Value #

toEncodingList :: [PrtclState StandardCrypto] -> Encoding #

omitField :: PrtclState StandardCrypto -> Bool #

ToJSON a => ToJSON (ABoundaryBlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABoundaryBlock a -> Value #

toEncoding :: ABoundaryBlock a -> Encoding #

toJSONList :: [ABoundaryBlock a] -> Value #

toEncodingList :: [ABoundaryBlock a] -> Encoding #

omitField :: ABoundaryBlock a -> Bool #

ToJSON a => ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABlockOrBoundary a -> Value #

toEncoding :: ABlockOrBoundary a -> Encoding #

toJSONList :: [ABlockOrBoundary a] -> Value #

toEncodingList :: [ABlockOrBoundary a] -> Encoding #

omitField :: ABlockOrBoundary a -> Bool #

ToJSON a => ToJSON (ABlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABlock a -> Value #

toEncoding :: ABlock a -> Encoding #

toJSONList :: [ABlock a] -> Value #

toEncodingList :: [ABlock a] -> Encoding #

omitField :: ABlock a -> Bool #

ToJSON (StakeSnapshot crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: StakeSnapshot crypto -> Value #

toEncoding :: StakeSnapshot crypto -> Encoding #

toJSONList :: [StakeSnapshot crypto] -> Value #

toEncodingList :: [StakeSnapshot crypto] -> Encoding #

omitField :: StakeSnapshot crypto -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: StakeSnapshots crypto -> Value #

toEncoding :: StakeSnapshots crypto -> Encoding #

toJSONList :: [StakeSnapshots crypto] -> Value #

toEncodingList :: [StakeSnapshots crypto] -> Encoding #

omitField :: StakeSnapshots crypto -> Bool #

Crypto c => ToJSON (CommitteeMembersState c) 
Instance details

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

Crypto c => ToJSON (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: RewardProvenance c -> Value #

toEncoding :: RewardProvenance c -> Encoding #

toJSONList :: [RewardProvenance c] -> Value #

toEncodingList :: [RewardProvenance c] -> Encoding #

omitField :: RewardProvenance c -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: ShelleyHash crypto -> Value #

toEncoding :: ShelleyHash crypto -> Encoding #

toJSONList :: [ShelleyHash crypto] -> Value #

toEncodingList :: [ShelleyHash crypto] -> Encoding #

omitField :: ShelleyHash crypto -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: HashHeader crypto -> Value #

toEncoding :: HashHeader crypto -> Encoding #

toJSONList :: [HashHeader crypto] -> Value #

toEncodingList :: [HashHeader crypto] -> Encoding #

omitField :: HashHeader crypto -> Bool #

ToJSON a => ToJSON (ABoundaryBody a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABoundaryBody a -> Value #

toEncoding :: ABoundaryBody a -> Encoding #

toJSONList :: [ABoundaryBody a] -> Value #

toEncodingList :: [ABoundaryBody a] -> Encoding #

omitField :: ABoundaryBody a -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: TooLarge a -> Value #

toEncoding :: TooLarge a -> Encoding #

toJSONList :: [TooLarge a] -> Value #

toEncodingList :: [TooLarge a] -> Encoding #

omitField :: TooLarge a -> Bool #

Crypto c => ToJSON (Stake c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSON :: Stake c -> Value #

toEncoding :: Stake c -> Encoding #

toJSONList :: [Stake c] -> Value #

toEncodingList :: [Stake c] -> Encoding #

omitField :: Stake c -> Bool #

Crypto c => ToJSON (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: RewardProvenancePool c -> Value #

toEncoding :: RewardProvenancePool c -> Encoding #

toJSONList :: [RewardProvenancePool c] -> Value #

toEncodingList :: [RewardProvenancePool c] -> Encoding #

omitField :: RewardProvenancePool c -> Bool #

Crypto c => ToJSON (CommitteeMemberState c) 
Instance details

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

Methods

toJSON :: CommitteeMemberState c -> Value #

toEncoding :: CommitteeMemberState c -> Encoding #

toJSONList :: [CommitteeMemberState c] -> Value #

toEncodingList :: [CommitteeMemberState c] -> Encoding #

omitField :: CommitteeMemberState c -> Bool #

Crypto c => ToJSON (HotCredAuthStatus c) 
Instance details

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

Methods

toJSON :: HotCredAuthStatus c -> Value #

toEncoding :: HotCredAuthStatus c -> Encoding #

toJSONList :: [HotCredAuthStatus c] -> Value #

toEncodingList :: [HotCredAuthStatus c] -> Encoding #

omitField :: HotCredAuthStatus c -> Bool #

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

Defined in Cardano.Api.SerialiseUsing

Methods

toJSON :: UsingBech32 a -> Value #

toEncoding :: UsingBech32 a -> Encoding #

toJSONList :: [UsingBech32 a] -> Value #

toEncodingList :: [UsingBech32 a] -> Encoding #

omitField :: UsingBech32 a -> Bool #

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

Defined in Cardano.Api.SerialiseUsing

Methods

toJSON :: UsingRawBytesHex a -> Value #

toEncoding :: UsingRawBytesHex a -> Encoding #

toJSONList :: [UsingRawBytesHex a] -> Value #

toEncodingList :: [UsingRawBytesHex a] -> Encoding #

omitField :: UsingRawBytesHex a -> Bool #

ToJSON (ShelleyBasedEra era) Source # 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

Methods

toJSON :: ShelleyBasedEra era -> Value #

toEncoding :: ShelleyBasedEra era -> Encoding #

toJSONList :: [ShelleyBasedEra era] -> Value #

toEncodingList :: [ShelleyBasedEra era] -> Encoding #

omitField :: ShelleyBasedEra era -> Bool #

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

Defined in Cardano.Api.Query.Types

Methods

toJSON :: DebugLedgerState era -> Value #

toEncoding :: DebugLedgerState era -> Encoding #

toJSONList :: [DebugLedgerState era] -> Value #

toEncodingList :: [DebugLedgerState era] -> Encoding #

omitField :: DebugLedgerState era -> Bool #

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

Defined in Cardano.Api.Script

Methods

toJSON :: ReferenceScript era -> Value #

toEncoding :: ReferenceScript era -> Encoding #

toJSONList :: [ReferenceScript era] -> Value #

toEncodingList :: [ReferenceScript era] -> Encoding #

omitField :: ReferenceScript era -> Bool #

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

Defined in Cardano.Api.Address

ToJSON (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.TxBody

Methods

toJSON :: TxOutValue era -> Value #

toEncoding :: TxOutValue era -> Encoding #

toJSONList :: [TxOutValue era] -> Value #

toEncodingList :: [TxOutValue era] -> Encoding #

omitField :: TxOutValue era -> Bool #

ToJSON (TxValidationError era) Source # 
Instance details

Defined in Cardano.Api.InMode

Methods

toJSON :: TxValidationError era -> Value #

toEncoding :: TxValidationError era -> Encoding #

toJSONList :: [TxValidationError era] -> Value #

toEncodingList :: [TxValidationError era] -> Encoding #

omitField :: TxValidationError era -> Bool #

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

Defined in Cardano.Api.Query

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

omitField :: UTxO era -> Bool #

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

HasResolution a => ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Fixed a -> Value #

toEncoding :: Fixed a -> Encoding #

toJSONList :: [Fixed a] -> Value #

toEncodingList :: [Fixed a] -> Encoding #

omitField :: Fixed a -> Bool #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Proxy a -> Value #

toEncoding :: Proxy a -> Encoding #

toJSONList :: [Proxy a] -> Value #

toEncodingList :: [Proxy a] -> Encoding #

omitField :: Proxy a -> Bool #

ToJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: BoundedRatio b Word64 -> Value #

toEncoding :: BoundedRatio b Word64 -> Encoding #

toJSONList :: [BoundedRatio b Word64] -> Value #

toEncodingList :: [BoundedRatio b Word64] -> Encoding #

omitField :: BoundedRatio b Word64 -> Bool #

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

Defined in Cardano.Ledger.SafeHash

Methods

toJSON :: SafeHash c index -> Value #

toEncoding :: SafeHash c index -> Encoding #

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

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

omitField :: SafeHash c index -> Bool #

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

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

Defined in Cardano.Ledger.Keys

Methods

toJSON :: KeyHash disc c -> Value #

toEncoding :: KeyHash disc c -> Encoding #

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

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

omitField :: KeyHash disc c -> Bool #

HashAlgorithm h => ToJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSON :: Hash h a -> Value #

toEncoding :: Hash h a -> Encoding #

toJSONList :: [Hash h a] -> Value #

toEncodingList :: [Hash h a] -> Encoding #

omitField :: Hash h a -> Bool #

(ToJSON 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 (File content direction) Source # 
Instance details

Defined in Cardano.Api.IO.Base

Methods

toJSON :: File content direction -> Value #

toEncoding :: File content direction -> Encoding #

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

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

omitField :: File content direction -> Bool #

(ToJSON 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 (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 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 b => ToJSON (Annotated b a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

toJSON :: Annotated b a -> Value #

toEncoding :: Annotated b a -> Encoding #

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

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

omitField :: Annotated b a -> Bool #

ToJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSON :: AbstractHash algo a -> Value #

toEncoding :: AbstractHash algo a -> Encoding #

toJSONList :: [AbstractHash algo a] -> Value #

toEncodingList :: [AbstractHash algo a] -> Encoding #

omitField :: AbstractHash algo a -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: VKey 'Witness c -> Value #

toEncoding :: VKey 'Witness c -> Encoding #

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

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

omitField :: VKey 'Witness c -> Bool #

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

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

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Credential kr c -> Value #

toEncoding :: Credential kr c -> Encoding #

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

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

omitField :: Credential kr c -> Bool #

Crypto c => ToJSON (PrevGovActionId r c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSON :: PrevGovActionId r c -> Value #

toEncoding :: PrevGovActionId r c -> Encoding #

toJSONList :: [PrevGovActionId r c] -> Value #

toEncodingList :: [PrevGovActionId r c] -> Encoding #

omitField :: PrevGovActionId r c -> Bool #

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

Defined in Data.OMap.Strict

Methods

toJSON :: OMap k v -> Value #

toEncoding :: OMap k v -> Encoding #

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

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

omitField :: OMap k v -> Bool #

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

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON :: ShelleyPParams Identity era -> Value #

toEncoding :: ShelleyPParams Identity era -> Encoding #

toJSONList :: [ShelleyPParams Identity era] -> Value #

toEncodingList :: [ShelleyPParams Identity era] -> Encoding #

omitField :: ShelleyPParams Identity era -> Bool #

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

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON :: ShelleyPParams StrictMaybe era -> Value #

toEncoding :: ShelleyPParams StrictMaybe era -> Encoding #

toJSONList :: [ShelleyPParams StrictMaybe era] -> Value #

toEncodingList :: [ShelleyPParams StrictMaybe era] -> Encoding #

omitField :: ShelleyPParams StrictMaybe era -> Bool #

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

Defined in Cardano.Ledger.Babbage.PParams

Methods

toJSON :: BabbagePParams Identity era -> Value #

toEncoding :: BabbagePParams Identity era -> Encoding #

toJSONList :: [BabbagePParams Identity era] -> Value #

toEncodingList :: [BabbagePParams Identity era] -> Encoding #

omitField :: BabbagePParams Identity era -> Bool #

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

Defined in Cardano.Ledger.Babbage.PParams

Methods

toJSON :: BabbagePParams StrictMaybe era -> Value #

toEncoding :: BabbagePParams StrictMaybe era -> Encoding #

toJSONList :: [BabbagePParams StrictMaybe era] -> Value #

toEncodingList :: [BabbagePParams StrictMaybe era] -> Encoding #

omitField :: BabbagePParams StrictMaybe era -> Bool #

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

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: ConwayPParams Identity (ConwayEra c) -> Value #

toEncoding :: ConwayPParams Identity (ConwayEra c) -> Encoding #

toJSONList :: [ConwayPParams Identity (ConwayEra c)] -> Value #

toEncodingList :: [ConwayPParams Identity (ConwayEra c)] -> Encoding #

omitField :: ConwayPParams Identity (ConwayEra c) -> Bool #

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

Defined in Cardano.Ledger.Conway.PParams

Methods

toJSON :: ConwayPParams StrictMaybe era -> Value #

toEncoding :: ConwayPParams StrictMaybe era -> Encoding #

toJSONList :: [ConwayPParams StrictMaybe era] -> Value #

toEncodingList :: [ConwayPParams StrictMaybe era] -> Encoding #

omitField :: ConwayPParams StrictMaybe era -> Bool #

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

Defined in Data.ListMap

Methods

toJSON :: ListMap k v -> Value #

toEncoding :: ListMap k v -> Encoding #

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

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

omitField :: ListMap k v -> Bool #

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

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toJSON :: AlonzoPParams Identity (AlonzoEra c) -> Value #

toEncoding :: AlonzoPParams Identity (AlonzoEra c) -> Encoding #

toJSONList :: [AlonzoPParams Identity (AlonzoEra c)] -> Value #

toEncodingList :: [AlonzoPParams Identity (AlonzoEra c)] -> Encoding #

omitField :: AlonzoPParams Identity (AlonzoEra c) -> Bool #

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

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toJSON :: AlonzoPParams StrictMaybe (AlonzoEra c) -> Value #

toEncoding :: AlonzoPParams StrictMaybe (AlonzoEra c) -> Encoding #

toJSONList :: [AlonzoPParams StrictMaybe (AlonzoEra c)] -> Value #

toEncodingList :: [AlonzoPParams StrictMaybe (AlonzoEra c)] -> Encoding #

omitField :: AlonzoPParams StrictMaybe (AlonzoEra c) -> Bool #

ToJSON (OneEraHash xs) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON :: OneEraHash xs -> Value #

toEncoding :: OneEraHash xs -> Encoding #

toJSONList :: [OneEraHash xs] -> Value #

toEncodingList :: [OneEraHash xs] -> Encoding #

omitField :: OneEraHash xs -> Bool #

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

Defined in Cardano.Api.Orphans

Methods

toJSON :: Tip blk -> Value #

toEncoding :: Tip blk -> Encoding #

toJSONList :: [Tip blk] -> Value #

toEncodingList :: [Tip blk] -> Encoding #

omitField :: Tip blk -> Bool #

ToJSON (ScriptLanguageInEra lang era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptLanguageInEra lang era -> Value #

toEncoding :: ScriptLanguageInEra lang era -> Encoding #

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

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

omitField :: ScriptLanguageInEra lang era -> Bool #

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

Defined in Cardano.Api.TxBody

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 #

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

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 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 (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Product f g a -> Value #

toEncoding :: Product f g a -> Encoding #

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

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

omitField :: Product f g a -> Bool #

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

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Sum f g a -> Value #

toEncoding :: Sum f g a -> Encoding #

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

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

omitField :: Sum f g a -> Bool #

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

Defined in Data.VMap

Methods

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

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

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

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

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

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON 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 #

(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 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 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 Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Int8

toJSONKeyList :: ToJSONKeyFunction [Int8]

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 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 Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Word

toJSONKeyList :: ToJSONKeyFunction [Word]

ToJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Word8

toJSONKeyList :: ToJSONKeyFunction [Word8]

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 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 Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Text

toJSONKeyList :: ToJSONKeyFunction [Text]

ToJSONKey Key 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Key

toJSONKeyList :: ToJSONKeyFunction [Key]

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 DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction DayOfWeek

toJSONKeyList :: ToJSONKeyFunction [DayOfWeek]

ToJSONKey Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction Day

toJSONKeyList :: ToJSONKeyFunction [Day]

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 UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction UTCTime

toJSONKeyList :: ToJSONKeyFunction [UTCTime]

ToJSONKey ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction ZonedTime

toJSONKeyList :: ToJSONKeyFunction [ZonedTime]

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 ShortText 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction ShortText

toJSONKeyList :: ToJSONKeyFunction [ShortText]

ToJSONKey URI 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction URI

toJSONKeyList :: ToJSONKeyFunction [URI]

ToJSONKey UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction UUID

toJSONKeyList :: ToJSONKeyFunction [UUID]

ToJSONKey ApplicationName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSONKey :: ToJSONKeyFunction ApplicationName

toJSONKeyList :: ToJSONKeyFunction [ApplicationName]

ToJSONKey CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

toJSONKey :: ToJSONKeyFunction CompactRedeemVerificationKey

toJSONKeyList :: ToJSONKeyFunction [CompactRedeemVerificationKey]

ToJSONKey RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toJSONKey :: ToJSONKeyFunction RedeemVerificationKey

toJSONKeyList :: ToJSONKeyFunction [RedeemVerificationKey]

ToJSONKey SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSONKey :: ToJSONKeyFunction SystemTag

toJSONKeyList :: ToJSONKeyFunction [SystemTag]

ToJSONKey ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSONKey :: ToJSONKeyFunction ByteString64

toJSONKeyList :: ToJSONKeyFunction [ByteString64]

ToJSONKey CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

toJSONKey :: ToJSONKeyFunction CoverageAnnotation

toJSONKeyList :: ToJSONKeyFunction [CoverageAnnotation]

ToJSONKey Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONKey :: ToJSONKeyFunction Ptr

toJSONKeyList :: ToJSONKeyFunction [Ptr]

ToJSONKey Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

toJSONKey :: ToJSONKeyFunction Language

toJSONKeyList :: ToJSONKeyFunction [Language]

ToJSONKey AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxIn

toJSONKeyList :: ToJSONKeyFunction [TxIn]

ToJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxId

toJSONKeyList :: ToJSONKeyFunction [TxId]

ToJSONKey AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONKey :: ToJSONKeyFunction AnyPlutusScriptVersion

toJSONKeyList :: ToJSONKeyFunction [AnyPlutusScriptVersion]

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

(ToJSONKey a, ToJSON a) => ToJSONKey [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction [a]

toJSONKeyList :: ToJSONKeyFunction [[a]]

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

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

Crypto c => ToJSONKey (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSONKey :: ToJSONKeyFunction (ScriptHash c)

toJSONKeyList :: ToJSONKeyFunction [ScriptHash c]

Crypto c => ToJSONKey (TxIn c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSONKey :: ToJSONKeyFunction (TxIn c)

toJSONKeyList :: ToJSONKeyFunction [TxIn c]

Crypto c => ToJSONKey (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSONKey :: ToJSONKeyFunction (DRep c)

toJSONKeyList :: ToJSONKeyFunction [DRep c]

Crypto c => ToJSONKey (GovActionId c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction (GovActionId c)

toJSONKeyList :: ToJSONKeyFunction [GovActionId c]

Crypto c => ToJSONKey (Voter c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONKey :: ToJSONKeyFunction (Voter c)

toJSONKeyList :: ToJSONKeyFunction [Voter c]

ToJSONKey (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey :: ToJSONKeyFunction (Addr c)

toJSONKeyList :: ToJSONKeyFunction [Addr c]

Crypto c => ToJSONKey (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONKey :: ToJSONKeyFunction (RewardAcnt c)

toJSONKeyList :: ToJSONKeyFunction [RewardAcnt c]

Crypto c => ToJSONKey (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toJSONKey :: ToJSONKeyFunction (PolicyID c)

toJSONKeyList :: ToJSONKeyFunction [PolicyID c]

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

Defined in Cardano.Api.Via.ShowOf

Methods

toJSONKey :: ToJSONKeyFunction (ShowOf a)

toJSONKeyList :: ToJSONKeyFunction [ShowOf a]

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

Defined in Cardano.Api.SerialiseUsing

Methods

toJSONKey :: ToJSONKeyFunction (UsingBech32 a)

toJSONKeyList :: ToJSONKeyFunction [UsingBech32 a]

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

Defined in Cardano.Api.SerialiseUsing

Methods

toJSONKey :: ToJSONKeyFunction (UsingRawBytesHex a)

toJSONKeyList :: ToJSONKeyFunction [UsingRawBytesHex a]

(ToJSON a, ToJSON b) => ToJSONKey (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction (a, b)

toJSONKeyList :: ToJSONKeyFunction [(a, b)]

HasResolution a => ToJSONKey (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey :: ToJSONKeyFunction (Fixed a)

toJSONKeyList :: ToJSONKeyFunction [Fixed a]

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

Defined in Cardano.Ledger.Keys

Methods

toJSONKey :: ToJSONKeyFunction (KeyHash disc c)

toJSONKeyList :: ToJSONKeyFunction [KeyHash disc c]

HashAlgorithm h => ToJSONKey (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSONKey :: ToJSONKeyFunction (Hash h a)

toJSONKeyList :: ToJSONKeyFunction [Hash h a]

ToJSONKey (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSONKey :: ToJSONKeyFunction (AbstractHash algo a)

toJSONKeyList :: ToJSONKeyFunction [AbstractHash algo a]

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

Defined in Cardano.Ledger.Credential

Methods

toJSONKey :: ToJSONKeyFunction (Credential kr c)

toJSONKeyList :: ToJSONKeyFunction [Credential kr c]

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

prettyPrintJSON :: ToJSON a => a -> ByteString Source #

class FromJSON a where #

Minimal complete definition

Nothing

Methods

parseJSON :: Value -> Parser a #

parseJSONList :: Value -> Parser [a] #

omittedField :: Maybe a #

Instances

Instances details
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 Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int8 #

parseJSONList :: Value -> Parser [Int8] #

omittedField :: Maybe Int8 #

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

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Ordering #

parseJSONList :: Value -> Parser [Ordering] #

omittedField :: Maybe Ordering #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word #

parseJSONList :: Value -> Parser [Word] #

omittedField :: Maybe Word #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word8 #

parseJSONList :: Value -> Parser [Word8] #

omittedField :: Maybe Word8 #

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

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser () #

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

omittedField :: Maybe () #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Void #

parseJSONList :: Value -> Parser [Void] #

omittedField :: Maybe Void #

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 Version 
Instance details

Defined in Cardano.Ledger.Binary.Version

Methods

parseJSON :: Value -> Parser Version #

parseJSONList :: Value -> Parser [Version] #

omittedField :: Maybe Version #

FromJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser DnsName #

parseJSONList :: Value -> Parser [DnsName] #

omittedField :: Maybe DnsName #

FromJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Network #

parseJSONList :: Value -> Parser [Network] #

omittedField :: Maybe Network #

FromJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser NonNegativeInterval #

parseJSONList :: Value -> Parser [NonNegativeInterval] #

omittedField :: Maybe NonNegativeInterval #

FromJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Nonce #

parseJSONList :: Value -> Parser [Nonce] #

omittedField :: Maybe Nonce #

FromJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Port #

parseJSONList :: Value -> Parser [Port] #

omittedField :: Maybe Port #

FromJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser PositiveInterval #

parseJSONList :: Value -> Parser [PositiveInterval] #

omittedField :: Maybe PositiveInterval #

FromJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser PositiveUnitInterval #

parseJSONList :: Value -> Parser [PositiveUnitInterval] #

omittedField :: Maybe PositiveUnitInterval #

FromJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser ProtVer #

parseJSONList :: Value -> Parser [ProtVer] #

omittedField :: Maybe ProtVer #

FromJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser UnitInterval #

parseJSONList :: Value -> Parser [UnitInterval] #

omittedField :: Maybe UnitInterval #

FromJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Url #

parseJSONList :: Value -> Parser [Url] #

omittedField :: Maybe Url #

FromJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

parseJSON :: Value -> Parser BlockNo #

parseJSONList :: Value -> Parser [BlockNo] #

omittedField :: Maybe BlockNo #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo #

parseJSONList :: Value -> Parser [EpochNo] #

omittedField :: Maybe EpochNo #

FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochSize #

parseJSONList :: Value -> Parser [EpochSize] #

omittedField :: Maybe EpochSize #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser SlotNo #

parseJSONList :: Value -> Parser [SlotNo] #

omittedField :: Maybe SlotNo #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Text #

parseJSONList :: Value -> Parser [Text] #

omittedField :: Maybe Text #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Value #

parseJSONList :: Value -> Parser [Value] #

omittedField :: Maybe Value #

FromJSON Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Key #

parseJSONList :: Value -> Parser [Key] #

omittedField :: Maybe Key #

FromJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

parseJSON :: Value -> Parser SystemStart #

parseJSONList :: Value -> Parser [SystemStart] #

omittedField :: Maybe SystemStart #

FromJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

parseJSON :: Value -> Parser ExBudget #

parseJSONList :: Value -> Parser [ExBudget] #

omittedField :: Maybe ExBudget #

FromJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON :: Value -> Parser ExCPU #

parseJSONList :: Value -> Parser [ExCPU] #

omittedField :: Maybe ExCPU #

FromJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

parseJSON :: Value -> Parser ExMemory #

parseJSONList :: Value -> Parser [ExMemory] #

omittedField :: Maybe ExMemory #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Scientific #

parseJSONList :: Value -> Parser [Scientific] #

omittedField :: Maybe Scientific #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser IntSet #

parseJSONList :: Value -> Parser [IntSet] #

omittedField :: Maybe IntSet #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Text #

parseJSONList :: Value -> Parser [Text] #

omittedField :: Maybe Text #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DayOfWeek #

parseJSONList :: Value -> Parser [DayOfWeek] #

omittedField :: Maybe DayOfWeek #

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser SystemTime #

parseJSONList :: Value -> Parser [SystemTime] #

omittedField :: Maybe SystemTime #

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Day #

parseJSONList :: Value -> Parser [Day] #

omittedField :: Maybe Day #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DiffTime #

parseJSONList :: Value -> Parser [DiffTime] #

omittedField :: Maybe DiffTime #

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser LocalTime #

parseJSONList :: Value -> Parser [LocalTime] #

omittedField :: Maybe LocalTime #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser NominalDiffTime #

parseJSONList :: Value -> Parser [NominalDiffTime] #

omittedField :: Maybe NominalDiffTime #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser TimeOfDay #

parseJSONList :: Value -> Parser [TimeOfDay] #

omittedField :: Maybe TimeOfDay #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser UTCTime #

parseJSONList :: Value -> Parser [UTCTime] #

omittedField :: Maybe UTCTime #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser CalendarDiffDays #

parseJSONList :: Value -> Parser [CalendarDiffDays] #

omittedField :: Maybe CalendarDiffDays #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser CalendarDiffTime #

parseJSONList :: Value -> Parser [CalendarDiffTime] #

omittedField :: Maybe CalendarDiffTime #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser ZonedTime #

parseJSONList :: Value -> Parser [ZonedTime] #

omittedField :: Maybe ZonedTime #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DotNetTime #

parseJSONList :: Value -> Parser [DotNetTime] #

omittedField :: Maybe DotNetTime #

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 ShortText 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser ShortText #

parseJSONList :: Value -> Parser [ShortText] #

omittedField :: Maybe ShortText #

FromJSON URI 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser URI #

parseJSONList :: Value -> Parser [URI] #

omittedField :: Maybe URI #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser UUID #

parseJSONList :: Value -> Parser [UUID] #

omittedField :: Maybe UUID #

FromJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON :: Value -> Parser ProtocolMagic #

parseJSONList :: Value -> Parser [ProtocolMagic] #

omittedField :: Maybe ProtocolMagic #

FromJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON :: Value -> Parser ProtocolMagicId #

parseJSONList :: Value -> Parser [ProtocolMagicId] #

omittedField :: Maybe ProtocolMagicId #

FromJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON :: Value -> Parser RequiresNetworkMagic #

parseJSONList :: Value -> Parser [RequiresNetworkMagic] #

omittedField :: Maybe RequiresNetworkMagic #

FromJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

parseJSON :: Value -> Parser VerificationKey #

parseJSONList :: Value -> Parser [VerificationKey] #

omittedField :: Maybe VerificationKey #

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

parseJSON :: Value -> Parser CompactRedeemVerificationKey #

parseJSONList :: Value -> Parser [CompactRedeemVerificationKey] #

omittedField :: Maybe CompactRedeemVerificationKey #

FromJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

parseJSON :: Value -> Parser RedeemVerificationKey #

parseJSONList :: Value -> Parser [RedeemVerificationKey] #

omittedField :: Maybe RedeemVerificationKey #

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON :: Value -> Parser ByteString64 #

parseJSONList :: Value -> Parser [ByteString64] #

omittedField :: Maybe ByteString64 #

FromJSON RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

Methods

parseJSON :: Value -> Parser RelativeTime #

parseJSONList :: Value -> Parser [RelativeTime] #

omittedField :: Maybe RelativeTime #

FromJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

parseJSON :: Value -> Parser SatInt #

parseJSONList :: Value -> Parser [SatInt] #

omittedField :: Maybe SatInt #

FromJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CovLoc #

parseJSONList :: Value -> Parser [CovLoc] #

omittedField :: Maybe CovLoc #

FromJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageAnnotation #

parseJSONList :: Value -> Parser [CoverageAnnotation] #

omittedField :: Maybe CoverageAnnotation #

FromJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageData #

parseJSONList :: Value -> Parser [CoverageData] #

omittedField :: Maybe CoverageData #

FromJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageIndex #

parseJSONList :: Value -> Parser [CoverageIndex] #

omittedField :: Maybe CoverageIndex #

FromJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageMetadata #

parseJSONList :: Value -> Parser [CoverageMetadata] #

omittedField :: Maybe CoverageMetadata #

FromJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser CoverageReport #

parseJSONList :: Value -> Parser [CoverageReport] #

omittedField :: Maybe CoverageReport #

FromJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

Methods

parseJSON :: Value -> Parser Metadata #

parseJSONList :: Value -> Parser [Metadata] #

omittedField :: Maybe Metadata #

FromJSON Rational 
Instance details

Defined in PlutusTx.Ratio

Methods

parseJSON :: Value -> Parser Rational #

parseJSONList :: Value -> Parser [Rational] #

omittedField :: Maybe Rational #

FromJSON CoinPerWord 
Instance details

Defined in Cardano.Ledger.Alonzo.Core

Methods

parseJSON :: Value -> Parser CoinPerWord #

parseJSONList :: Value -> Parser [CoinPerWord] #

omittedField :: Maybe CoinPerWord #

FromJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser Coin #

parseJSONList :: Value -> Parser [Coin] #

omittedField :: Maybe Coin #

FromJSON CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Methods

parseJSON :: Value -> Parser CostModels #

parseJSONList :: Value -> Parser [CostModels] #

omittedField :: Maybe CostModels #

FromJSON Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser Prices #

parseJSONList :: Value -> Parser [Prices] #

omittedField :: Maybe Prices #

FromJSON ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

parseJSON :: Value -> Parser ExUnits #

parseJSONList :: Value -> Parser [ExUnits] #

omittedField :: Maybe ExUnits #

FromJSON CoinPerByte 
Instance details

Defined in Cardano.Ledger.Babbage.Core

Methods

parseJSON :: Value -> Parser CoinPerByte #

parseJSONList :: Value -> Parser [CoinPerByte] #

omittedField :: Maybe CoinPerByte #

FromJSON DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser DeltaCoin #

parseJSONList :: Value -> Parser [DeltaCoin] #

omittedField :: Maybe DeltaCoin #

FromJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

parseJSON :: Value -> Parser PoolMetadata #

parseJSONList :: Value -> Parser [PoolMetadata] #

omittedField :: Maybe PoolMetadata #

FromJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

parseJSON :: Value -> Parser StakePoolRelay #

parseJSONList :: Value -> Parser [StakePoolRelay] #

omittedField :: Maybe StakePoolRelay #

FromJSON OrdExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

parseJSON :: Value -> Parser OrdExUnits #

parseJSONList :: Value -> Parser [OrdExUnits] #

omittedField :: Maybe OrdExUnits #

FromJSON Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

parseJSON :: Value -> Parser Language #

parseJSONList :: Value -> Parser [Language] #

omittedField :: Maybe Language #

FromJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

parseJSON :: Value -> Parser AlonzoGenesis #

parseJSONList :: Value -> Parser [AlonzoGenesis] #

omittedField :: Maybe AlonzoGenesis #

FromJSON NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser NominalDiffTimeMicro #

parseJSONList :: Value -> Parser [NominalDiffTimeMicro] #

omittedField :: Maybe NominalDiffTimeMicro #

FromJSON LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

parseJSON :: Value -> Parser LogWeight #

parseJSONList :: Value -> Parser [LogWeight] #

omittedField :: Maybe LogWeight #

FromJSON AnyCardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras.Core

Methods

parseJSON :: Value -> Parser AnyCardanoEra #

parseJSONList :: Value -> Parser [AnyCardanoEra] #

omittedField :: Maybe AnyCardanoEra #

FromJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardParams #

parseJSONList :: Value -> Parser [RewardParams] #

omittedField :: Maybe RewardParams #

FromJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardInfoPool #

parseJSONList :: Value -> Parser [RewardInfoPool] #

omittedField :: Maybe RewardInfoPool #

FromJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser Desirability #

parseJSONList :: Value -> Parser [Desirability] #

omittedField :: Maybe Desirability #

FromJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIx #

parseJSONList :: Value -> Parser [TxIx] #

omittedField :: Maybe TxIx #

FromJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIn #

parseJSONList :: Value -> Parser [TxIn] #

omittedField :: Maybe TxIn #

FromJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

omittedField :: Maybe TxId #

FromJSON AnyShelleyBasedEra Source # 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

FromJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON :: Value -> Parser TextEnvelope #

parseJSONList :: Value -> Parser [TextEnvelope] #

omittedField :: Maybe TextEnvelope #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON SimpleScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser SimpleScript #

parseJSONList :: Value -> Parser [SimpleScript] #

omittedField :: Maybe SimpleScript #

FromJSON ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ScriptHash #

parseJSONList :: Value -> Parser [ScriptHash] #

omittedField :: Maybe ScriptHash #

FromJSON ExecutionUnits Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ExecutionUnits #

parseJSONList :: Value -> Parser [ExecutionUnits] #

omittedField :: Maybe ExecutionUnits #

FromJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

FromJSON AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

FromJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser ValueNestedRep #

parseJSONList :: Value -> Parser [ValueNestedRep] #

omittedField :: Maybe ValueNestedRep #

FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value0 -> Parser Value #

parseJSONList :: Value0 -> Parser [Value] #

omittedField :: Maybe Value #

FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser AssetName #

parseJSONList :: Value -> Parser [AssetName] #

omittedField :: Maybe AssetName #

FromJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser PolicyId #

parseJSONList :: Value -> Parser [PolicyId] #

omittedField :: Maybe PolicyId #

FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Quantity #

parseJSONList :: Value -> Parser [Quantity] #

omittedField :: Maybe Quantity #

FromJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Lovelace #

parseJSONList :: Value -> Parser [Lovelace] #

omittedField :: Maybe Lovelace #

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

FromJSON StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser StakeAddress #

parseJSONList :: Value -> Parser [StakeAddress] #

omittedField :: Maybe StakeAddress #

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser PraosNonce #

parseJSONList :: Value -> Parser [PraosNonce] #

omittedField :: Maybe PraosNonce #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON TextEnvelopeCddl Source # 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

FromJSON ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser ChainPoint #

parseJSONList :: Value -> Parser [ChainPoint] #

omittedField :: Maybe ChainPoint #

FromJSON DelegationsAndRewards Source # 
Instance details

Defined in Cardano.Api.Rewards

FromJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

Methods

parseJSON :: Value -> Parser PeerAdvertise #

parseJSONList :: Value -> Parser [PeerAdvertise] #

omittedField :: Maybe PeerAdvertise #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON :: Value -> Parser StudentT #

parseJSONList :: Value -> Parser [StudentT] #

omittedField :: Maybe StudentT #

FromJSON NodeConfig Source # 
Instance details

Defined in Cardano.Api.LedgerState

Methods

parseJSON :: Value -> Parser NodeConfig #

parseJSONList :: Value -> Parser [NodeConfig] #

omittedField :: Maybe NodeConfig #

FromJSON a => FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser [a] #

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

omittedField :: Maybe [a] #

FromJSON a => FromJSON (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, 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 (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 (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 (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 (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

omittedField :: Maybe (WrappedMonoid a) #

FromJSON a => FromJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

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

Crypto c => FromJSON (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

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

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

omittedField :: Maybe (Anchor c) #

Crypto c => FromJSON (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

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

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

omittedField :: Maybe (BlocksMade c) #

FromJSON a => FromJSON (WithOrigin a) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

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

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

omittedField :: Maybe (WithOrigin a) #

FromJSON a => FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

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

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

omittedField :: Maybe (StrictMaybe a) #

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

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 (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 (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

Methods

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

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

omittedField :: Maybe (StrictSeq a) #

FromJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

parseJSON :: Value -> Parser (CekMachineCostsBase Identity) #

parseJSONList :: Value -> Parser [CekMachineCostsBase Identity] #

omittedField :: Maybe (CekMachineCostsBase Identity) #

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

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

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

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

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

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

Defined in Cardano.Api.Keys.Shelley

Methods

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

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

omittedField :: Maybe (Hash DRepKey) #

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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

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

omittedField :: Maybe (Hash StakePoolKey) #

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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

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

omittedField :: Maybe (Hash GenesisKey) #

FromJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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

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

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.ScriptData

Methods

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

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

omittedField :: Maybe (Hash ScriptData) #

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 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 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 (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

omittedField :: Maybe0 (Maybe a) #

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

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

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

(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 (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

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

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

omittedField :: Maybe (Signature w) #

FromJSON a => FromJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

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

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

omittedField :: Maybe (RedeemSignature a) #

Crypto c => FromJSON (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

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

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

omittedField :: Maybe (GenDelegPair c) #

Crypto c => FromJSON (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

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

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

omittedField :: Maybe (GenDelegs c) #

FromJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

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

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

omittedField :: Maybe (BuiltinCostModelBase CostingFun) #

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

Defined in Cardano.Ledger.Core.PParams

Methods

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

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

omittedField :: Maybe (PParams era) #

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

Defined in Cardano.Ledger.Core.PParams

Methods

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

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

omittedField :: Maybe (PParamsUpdate era) #

Crypto c => FromJSON (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

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

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

omittedField :: Maybe (ScriptHash c) #

Era era => FromJSON (Constitution era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Methods

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

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

omittedField :: Maybe (Constitution era) #

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

Defined in Cardano.Ledger.Plutus.ExUnits

Methods

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

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

omittedField :: Maybe (ExUnits' a) #

Crypto c => FromJSON (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

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

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

omittedField :: Maybe (DRep c) #

Crypto c => FromJSON (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

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

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

omittedField :: Maybe (PoolParams c) #

FromJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

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

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

omittedField :: Maybe (CompactForm Coin) #

Era era => FromJSON (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

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

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

omittedField :: Maybe (Committee era) #

Crypto c => FromJSON (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

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

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

omittedField :: Maybe (TxId c) #

Crypto c => FromJSON (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

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

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

omittedField :: Maybe (Addr c) #

Crypto c => FromJSON (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

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

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

omittedField :: Maybe (RewardAcnt c) #

FromJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

parseJSON :: Value -> Parser (UpgradeConwayPParams Identity) #

parseJSONList :: Value -> Parser [UpgradeConwayPParams Identity] #

omittedField :: Maybe (UpgradeConwayPParams Identity) #

Crypto c => FromJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

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

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

omittedField :: Maybe (ShelleyGenesis c) #

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

Defined in Cardano.Ledger.Shelley.Transition

Methods

parseJSON :: Value -> Parser (TransitionConfig (ShelleyEra c)) #

parseJSONList :: Value -> Parser [TransitionConfig (ShelleyEra c)] #

omittedField :: Maybe (TransitionConfig (ShelleyEra c)) #

Crypto c => FromJSON (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

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

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

omittedField :: Maybe (PolicyID c) #

Crypto c => FromJSON (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

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

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

omittedField :: Maybe (ShelleyGenesisStaking c) #

Crypto c => FromJSON (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Methods

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

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

omittedField :: Maybe (ConwayGenesis c) #

Crypto c => FromJSON (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

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

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

omittedField :: Maybe (RewardProvenance c) #

Crypto c => FromJSON (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

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

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

omittedField :: Maybe (RewardProvenancePool c) #

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

Defined in Cardano.Api.SerialiseUsing

Methods

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

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

omittedField :: Maybe (UsingBech32 a) #

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

Defined in Cardano.Api.SerialiseUsing

Methods

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

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

omittedField :: Maybe (UsingRawBytesHex a) #

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

Defined in Cardano.Api.Script

Methods

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

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

omittedField :: Maybe (ReferenceScript era) #

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

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

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

Defined in Cardano.Api.TxBody

Methods

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

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

omittedField :: Maybe (TxOutValue era) #

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

Defined in Cardano.Api.Query

Methods

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

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

omittedField :: Maybe (UTxO era) #

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

HasResolution a => FromJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

omittedField :: Maybe (Fixed a) #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

omittedField :: Maybe (Proxy a) #

Bounded (BoundedRatio b Word64) => FromJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser (BoundedRatio b Word64) #

parseJSONList :: Value -> Parser [BoundedRatio b Word64] #

omittedField :: Maybe (BoundedRatio b Word64) #

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

Defined in Cardano.Ledger.SafeHash

Methods

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

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

omittedField :: Maybe (SafeHash c index) #

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

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

Defined in Cardano.Ledger.Keys

Methods

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

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

omittedField :: Maybe (KeyHash disc c) #

HashAlgorithm h => FromJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

parseJSON :: Value -> Parser (Hash h a) #

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

omittedField :: Maybe (Hash h a) #

(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 (File content direction) Source # 
Instance details

Defined in Cardano.Api.IO.Base

Methods

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

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

omittedField :: Maybe (File content direction) #

(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 (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 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 b => FromJSON (Annotated b ()) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

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

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

omittedField :: Maybe (Annotated b ()) #

HashAlgorithm algo => FromJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

parseJSON :: Value -> Parser (AbstractHash algo a) #

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

omittedField :: Maybe (AbstractHash algo a) #

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

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

Defined in Cardano.Ledger.Credential

Methods

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

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

omittedField :: Maybe (Credential kr c) #

FromJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

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

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

omittedField :: Maybe (ShelleyPParams Identity era) #

(FromJSON v, FromJSON k, FromJSONKey k) => FromJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

parseJSON :: Value -> Parser (ListMap k v) #

parseJSONList :: Value -> Parser [ListMap k v] #

omittedField :: Maybe (ListMap k v) #

FromJSON (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

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

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

omittedField :: Maybe (AlonzoPParams Identity era) #

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

Defined in Cardano.Api.TxBody

Methods

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

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

omittedField :: Maybe (TxOut CtxUTxO era) #

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

Defined in Cardano.Api.TxBody

Methods

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

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

omittedField :: Maybe (TxOut CtxTx era) #

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

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 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 (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

omittedField :: Maybe (Product f g a) #

(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

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

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

omittedField :: Maybe (Sum f g a) #

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

Defined in Data.VMap

Methods

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

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

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

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON 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) #

(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 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 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 Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Int8

fromJSONKeyList :: FromJSONKeyFunction [Int8]

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 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 Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Word

fromJSONKeyList :: FromJSONKeyFunction [Word]

FromJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Word8

fromJSONKeyList :: FromJSONKeyFunction [Word8]

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 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 Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Text

fromJSONKeyList :: FromJSONKeyFunction [Text]

FromJSONKey Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Key

fromJSONKeyList :: FromJSONKeyFunction [Key]

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Text

fromJSONKeyList :: FromJSONKeyFunction [Text]

FromJSONKey DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction DayOfWeek

fromJSONKeyList :: FromJSONKeyFunction [DayOfWeek]

FromJSONKey Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction Day

fromJSONKeyList :: FromJSONKeyFunction [Day]

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 UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction UTCTime

fromJSONKeyList :: FromJSONKeyFunction [UTCTime]

FromJSONKey ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction ZonedTime

fromJSONKeyList :: FromJSONKeyFunction [ZonedTime]

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 ShortText 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction ShortText

fromJSONKeyList :: FromJSONKeyFunction [ShortText]

FromJSONKey URI 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction URI

fromJSONKeyList :: FromJSONKeyFunction [URI]

FromJSONKey UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction UUID

fromJSONKeyList :: FromJSONKeyFunction [UUID]

FromJSONKey CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

fromJSONKey :: FromJSONKeyFunction CompactRedeemVerificationKey

fromJSONKeyList :: FromJSONKeyFunction [CompactRedeemVerificationKey]

FromJSONKey RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

fromJSONKey :: FromJSONKeyFunction RedeemVerificationKey

fromJSONKeyList :: FromJSONKeyFunction [RedeemVerificationKey]

FromJSONKey ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

fromJSONKey :: FromJSONKeyFunction ByteString64

fromJSONKeyList :: FromJSONKeyFunction [ByteString64]

FromJSONKey CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Methods

fromJSONKey :: FromJSONKeyFunction CoverageAnnotation

fromJSONKeyList :: FromJSONKeyFunction [CoverageAnnotation]

FromJSONKey Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Methods

fromJSONKey :: FromJSONKeyFunction Language

fromJSONKeyList :: FromJSONKeyFunction [Language]

FromJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxIn

fromJSONKeyList :: FromJSONKeyFunction [TxIn]

FromJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxId

fromJSONKeyList :: FromJSONKeyFunction [TxId]

FromJSONKey AnyPlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

fromJSONKey :: FromJSONKeyFunction AnyPlutusScriptVersion

fromJSONKeyList :: FromJSONKeyFunction [AnyPlutusScriptVersion]

FromJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

fromJSONKey :: FromJSONKeyFunction AssetName

fromJSONKeyList :: FromJSONKeyFunction [AssetName]

(FromJSONKey a, FromJSON a) => FromJSONKey [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction [a]

fromJSONKeyList :: FromJSONKeyFunction [[a]]

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

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

Crypto c => FromJSONKey (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

fromJSONKey :: FromJSONKeyFunction (ScriptHash c)

fromJSONKeyList :: FromJSONKeyFunction [ScriptHash c]

Crypto c => FromJSONKey (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

fromJSONKey :: FromJSONKeyFunction (DRep c)

fromJSONKeyList :: FromJSONKeyFunction [DRep c]

Crypto c => FromJSONKey (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey :: FromJSONKeyFunction (Addr c)

fromJSONKeyList :: FromJSONKeyFunction [Addr c]

Crypto c => FromJSONKey (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromJSONKey :: FromJSONKeyFunction (RewardAcnt c)

fromJSONKeyList :: FromJSONKeyFunction [RewardAcnt c]

Crypto c => FromJSONKey (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromJSONKey :: FromJSONKeyFunction (PolicyID c)

fromJSONKeyList :: FromJSONKeyFunction [PolicyID c]

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

Defined in Cardano.Api.SerialiseUsing

Methods

fromJSONKey :: FromJSONKeyFunction (UsingBech32 a)

fromJSONKeyList :: FromJSONKeyFunction [UsingBech32 a]

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

Defined in Cardano.Api.SerialiseUsing

Methods

fromJSONKey :: FromJSONKeyFunction (UsingRawBytesHex a)

fromJSONKeyList :: FromJSONKeyFunction [UsingRawBytesHex a]

(FromJSON a, FromJSON b) => FromJSONKey (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey :: FromJSONKeyFunction (a, b)

fromJSONKeyList :: FromJSONKeyFunction [(a, b)]

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

Defined in Cardano.Ledger.Keys

Methods

fromJSONKey :: FromJSONKeyFunction (KeyHash disc c)

fromJSONKeyList :: FromJSONKeyFunction [KeyHash disc c]

HashAlgorithm h => FromJSONKey (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromJSONKey :: FromJSONKeyFunction (Hash h a)

fromJSONKeyList :: FromJSONKeyFunction [Hash h a]

(HashAlgorithm algo, FromJSON (AbstractHash algo a)) => FromJSONKey (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

fromJSONKey :: FromJSONKeyFunction (AbstractHash algo a)

fromJSONKeyList :: FromJSONKeyFunction [AbstractHash algo a]

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

Defined in Cardano.Ledger.Credential

Methods

fromJSONKey :: FromJSONKeyFunction (Credential kr c)

fromJSONKeyList :: FromJSONKeyFunction [Credential kr c]

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

Defined in Cardano.Api.SerialiseJSON

Data JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Methods

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

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

toConstr :: JsonDecodeError -> Constr Source #

dataTypeOf :: JsonDecodeError -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Show JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Error JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON