Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.SerialiseJSON
Description
JSON serialisation
Documentation
serialiseToJSON ∷ ToJSON a ⇒ a → ByteString Source #
Minimal complete definition
Nothing
Instances
ToJSON Bool | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Bool → Encoding # toJSONList ∷ [Bool] → Value # toEncodingList ∷ [Bool] → Encoding # | |
ToJSON Char | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Char → Encoding # toJSONList ∷ [Char] → Value # toEncodingList ∷ [Char] → Encoding # | |
ToJSON Double | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Double → Encoding # toJSONList ∷ [Double] → Value # toEncodingList ∷ [Double] → Encoding # | |
ToJSON Float | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Float → Encoding # toJSONList ∷ [Float] → Value # toEncodingList ∷ [Float] → Encoding # | |
ToJSON Int | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON Int8 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int8 → Encoding # toJSONList ∷ [Int8] → Value # toEncodingList ∷ [Int8] → Encoding # | |
ToJSON Int16 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int16 → Encoding # toJSONList ∷ [Int16] → Value # toEncodingList ∷ [Int16] → Encoding # | |
ToJSON Int32 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int32 → Encoding # toJSONList ∷ [Int32] → Value # toEncodingList ∷ [Int32] → Encoding # | |
ToJSON Int64 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int64 → Encoding # toJSONList ∷ [Int64] → Value # toEncodingList ∷ [Int64] → Encoding # | |
ToJSON Integer | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Integer → Encoding # toJSONList ∷ [Integer] → Value # toEncodingList ∷ [Integer] → Encoding # | |
ToJSON Natural | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Natural → Encoding # toJSONList ∷ [Natural] → Value # toEncodingList ∷ [Natural] → Encoding # | |
ToJSON Ordering | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Ordering → Encoding # toJSONList ∷ [Ordering] → Value # toEncodingList ∷ [Ordering] → Encoding # | |
ToJSON Word | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word → Encoding # toJSONList ∷ [Word] → Value # toEncodingList ∷ [Word] → Encoding # | |
ToJSON Word8 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word8 → Encoding # toJSONList ∷ [Word8] → Value # toEncodingList ∷ [Word8] → Encoding # | |
ToJSON Word16 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word16 → Encoding # toJSONList ∷ [Word16] → Value # toEncodingList ∷ [Word16] → Encoding # | |
ToJSON Word32 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word32 → Encoding # toJSONList ∷ [Word32] → Value # toEncodingList ∷ [Word32] → Encoding # | |
ToJSON Word64 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word64 → Encoding # toJSONList ∷ [Word64] → Value # toEncodingList ∷ [Word64] → Encoding # | |
ToJSON () | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON Version | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Version → Encoding # toJSONList ∷ [Version] → Value # toEncodingList ∷ [Version] → Encoding # | |
ToJSON Void | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Void → Encoding # toJSONList ∷ [Void] → Value # toEncodingList ∷ [Void] → Encoding # | |
ToJSON CTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ CTime → Encoding # toJSONList ∷ [CTime] → Value # toEncodingList ∷ [CTime] → Encoding # | |
ToJSON IntSet | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ IntSet → Encoding # toJSONList ∷ [IntSet] → Value # toEncodingList ∷ [IntSet] → Encoding # | |
ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Text → Encoding # toJSONList ∷ [Text] → Value # toEncodingList ∷ [Text] → Encoding # | |
ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Text → Encoding # toJSONList ∷ [Text] → Value # toEncodingList ∷ [Text] → Encoding # | |
ToJSON ZonedTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ ZonedTime → Encoding # toJSONList ∷ [ZonedTime] → Value # toEncodingList ∷ [ZonedTime] → Encoding # | |
ToJSON LocalTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ LocalTime → Encoding # toJSONList ∷ [LocalTime] → Value # toEncodingList ∷ [LocalTime] → Encoding # | |
ToJSON TimeOfDay | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ TimeOfDay → Encoding # toJSONList ∷ [TimeOfDay] → Value # toEncodingList ∷ [TimeOfDay] → Encoding # | |
ToJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ CalendarDiffTime → Value # toEncoding ∷ CalendarDiffTime → Encoding # toJSONList ∷ [CalendarDiffTime] → Value # toEncodingList ∷ [CalendarDiffTime] → Encoding # | |
ToJSON UTCTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ UTCTime → Encoding # toJSONList ∷ [UTCTime] → Value # toEncodingList ∷ [UTCTime] → Encoding # | |
ToJSON SystemTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ SystemTime → Value # toEncoding ∷ SystemTime → Encoding # toJSONList ∷ [SystemTime] → Value # toEncodingList ∷ [SystemTime] → Encoding # | |
ToJSON NominalDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ NominalDiffTime → Value # toEncoding ∷ NominalDiffTime → Encoding # toJSONList ∷ [NominalDiffTime] → Value # toEncodingList ∷ [NominalDiffTime] → Encoding # | |
ToJSON DiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DiffTime → Encoding # toJSONList ∷ [DiffTime] → Value # toEncodingList ∷ [DiffTime] → Encoding # | |
ToJSON DayOfWeek | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DayOfWeek → Encoding # toJSONList ∷ [DayOfWeek] → Value # toEncodingList ∷ [DayOfWeek] → Encoding # | |
ToJSON Day | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ CalendarDiffDays → Value # toEncoding ∷ CalendarDiffDays → Encoding # toJSONList ∷ [CalendarDiffDays] → Value # toEncodingList ∷ [CalendarDiffDays] → Encoding # | |
ToJSON Number | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Number → Encoding # toJSONList ∷ [Number] → Value # toEncodingList ∷ [Number] → Encoding # | |
ToJSON Scientific | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Scientific → Encoding # toJSONList ∷ [Scientific] → Value # toEncodingList ∷ [Scientific] → Encoding # | |
ToJSON DotNetTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DotNetTime → Encoding # toJSONList ∷ [DotNetTime] → Value # toEncodingList ∷ [DotNetTime] → Encoding # | |
ToJSON Value | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Value → Encoding # toJSONList ∷ [Value] → Value # toEncodingList ∷ [Value] → Encoding # | |
ToJSON ByteSpan | |
Defined in Cardano.Binary.Annotated Methods toEncoding ∷ ByteSpan → Encoding # toJSONList ∷ [ByteSpan] → Value # toEncodingList ∷ [ByteSpan] → Encoding # | |
ToJSON EpochNo | |
Defined in Cardano.Slotting.Slot Methods toEncoding ∷ EpochNo → Encoding # toJSONList ∷ [EpochNo] → Value # toEncodingList ∷ [EpochNo] → Encoding # | |
ToJSON EpochSize | |
Defined in Cardano.Slotting.Slot Methods toEncoding ∷ EpochSize → Encoding # toJSONList ∷ [EpochSize] → Value # toEncodingList ∷ [EpochSize] → Encoding # | |
ToJSON SlotNo | |
Defined in Cardano.Slotting.Slot Methods toEncoding ∷ SlotNo → Encoding # toJSONList ∷ [SlotNo] → Value # toEncodingList ∷ [SlotNo] → Encoding # | |
ToJSON UUID | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ UUID → Encoding # toJSONList ∷ [UUID] → Value # toEncodingList ∷ [UUID] → Encoding # | |
ToJSON NonNegativeInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON ∷ NonNegativeInterval → Value # toEncoding ∷ NonNegativeInterval → Encoding # toJSONList ∷ [NonNegativeInterval] → Value # toEncodingList ∷ [NonNegativeInterval] → Encoding # | |
ToJSON UnitInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON ∷ UnitInterval → Value # toEncoding ∷ UnitInterval → Encoding # toJSONList ∷ [UnitInterval] → Value # toEncodingList ∷ [UnitInterval] → Encoding # | |
ToJSON ProtVer | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding ∷ ProtVer → Encoding # toJSONList ∷ [ProtVer] → Value # toEncodingList ∷ [ProtVer] → Encoding # | |
ToJSON AlonzoGenesis | |
Defined in Cardano.Ledger.Alonzo.Genesis Methods toJSON ∷ AlonzoGenesis → Value # toEncoding ∷ AlonzoGenesis → Encoding # toJSONList ∷ [AlonzoGenesis] → Value # toEncodingList ∷ [AlonzoGenesis] → Encoding # | |
ToJSON Coin | |
Defined in Cardano.Ledger.Coin Methods toEncoding ∷ Coin → Encoding # toJSONList ∷ [Coin] → Value # toEncodingList ∷ [Coin] → Encoding # | |
ToJSON AssetName Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ AssetName → Encoding # toJSONList ∷ [AssetName] → Value # toEncodingList ∷ [AssetName] → Encoding # | |
ToJSON AssetClass | |
Defined in Plutus.V1.Ledger.Value Methods toEncoding ∷ AssetClass → Encoding # toJSONList ∷ [AssetClass] → Value # toEncodingList ∷ [AssetClass] → Encoding # | |
ToJSON CurrencySymbol | |
Defined in Plutus.V1.Ledger.Value Methods toJSON ∷ CurrencySymbol → Value # toEncoding ∷ CurrencySymbol → Encoding # toJSONList ∷ [CurrencySymbol] → Value # toEncodingList ∷ [CurrencySymbol] → Encoding # | |
ToJSON TokenName | |
Defined in Plutus.V1.Ledger.Value Methods toEncoding ∷ TokenName → Encoding # toJSONList ∷ [TokenName] → Value # toEncodingList ∷ [TokenName] → Encoding # | |
ToJSON Value | |
Defined in Plutus.V1.Ledger.Value Methods toEncoding ∷ Value → Encoding # toJSONList ∷ [Value] → Value0 # toEncodingList ∷ [Value] → Encoding # | |
ToJSON MintingPolicyHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ MintingPolicyHash → Value # toEncoding ∷ MintingPolicyHash → Encoding # toJSONList ∷ [MintingPolicyHash] → Value # toEncodingList ∷ [MintingPolicyHash] → Encoding # | |
ToJSON Context | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ Context → Encoding # toJSONList ∷ [Context] → Value # toEncodingList ∷ [Context] → Encoding # | |
ToJSON Datum | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ Datum → Encoding # toJSONList ∷ [Datum] → Value # toEncodingList ∷ [Datum] → Encoding # | |
ToJSON DatumHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ DatumHash → Encoding # toJSONList ∷ [DatumHash] → Value # toEncodingList ∷ [DatumHash] → Encoding # | |
ToJSON MintingPolicy | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ MintingPolicy → Value # toEncoding ∷ MintingPolicy → Encoding # toJSONList ∷ [MintingPolicy] → Value # toEncodingList ∷ [MintingPolicy] → Encoding # | |
ToJSON Redeemer | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ Redeemer → Encoding # toJSONList ∷ [Redeemer] → Value # toEncodingList ∷ [Redeemer] → Encoding # | |
ToJSON RedeemerHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ RedeemerHash → Value # toEncoding ∷ RedeemerHash → Encoding # toJSONList ∷ [RedeemerHash] → Value # toEncodingList ∷ [RedeemerHash] → Encoding # | |
ToJSON Script | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ Script → Encoding # toJSONList ∷ [Script] → Value # toEncodingList ∷ [Script] → Encoding # | |
ToJSON ScriptError | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ ScriptError → Value # toEncoding ∷ ScriptError → Encoding # toJSONList ∷ [ScriptError] → Value # toEncodingList ∷ [ScriptError] → Encoding # | |
ToJSON ScriptHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ ScriptHash → Encoding # toJSONList ∷ [ScriptHash] → Value # toEncodingList ∷ [ScriptHash] → Encoding # | |
ToJSON StakeValidator | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ StakeValidator → Value # toEncoding ∷ StakeValidator → Encoding # toJSONList ∷ [StakeValidator] → Value # toEncodingList ∷ [StakeValidator] → Encoding # | |
ToJSON StakeValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ StakeValidatorHash → Value # toEncoding ∷ StakeValidatorHash → Encoding # toJSONList ∷ [StakeValidatorHash] → Value # toEncodingList ∷ [StakeValidatorHash] → Encoding # | |
ToJSON Validator | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding ∷ Validator → Encoding # toJSONList ∷ [Validator] → Value # toEncodingList ∷ [Validator] → Encoding # | |
ToJSON ValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON ∷ ValidatorHash → Value # toEncoding ∷ ValidatorHash → Encoding # toJSONList ∷ [ValidatorHash] → Value # toEncodingList ∷ [ValidatorHash] → Encoding # | |
ToJSON ExBudget | |
Defined in PlutusCore.Evaluation.Machine.ExBudget Methods toEncoding ∷ ExBudget → Encoding # toJSONList ∷ [ExBudget] → Value # toEncodingList ∷ [ExBudget] → Encoding # | |
ToJSON ExCPU | |
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding ∷ ExCPU → Encoding # toJSONList ∷ [ExCPU] → Value # toEncodingList ∷ [ExCPU] → Encoding # | |
ToJSON ExMemory | |
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding ∷ ExMemory → Encoding # toJSONList ∷ [ExMemory] → Value # toEncodingList ∷ [ExMemory] → Encoding # | |
ToJSON Desirability | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods toJSON ∷ Desirability → Value # toEncoding ∷ Desirability → Encoding # toJSONList ∷ [Desirability] → Value # toEncodingList ∷ [Desirability] → Encoding # | |
ToJSON StakePoolRelay | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON ∷ StakePoolRelay → Value # toEncoding ∷ StakePoolRelay → Encoding # toJSONList ∷ [StakePoolRelay] → Value # toEncodingList ∷ [StakePoolRelay] → Encoding # | |
ToJSON PoolMetadata | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON ∷ PoolMetadata → Value # toEncoding ∷ PoolMetadata → Encoding # toJSONList ∷ [PoolMetadata] → Value # toEncodingList ∷ [PoolMetadata] → Encoding # | |
ToJSON Ptr Source # | |
Defined in Cardano.Api.Orphans | |
ToJSON Network | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding ∷ Network → Encoding # toJSONList ∷ [Network] → Value # toEncodingList ∷ [Network] → Encoding # | |
ToJSON AnyCardanoEra Source # | |
Defined in Cardano.Api.Eras Methods toJSON ∷ AnyCardanoEra → Value # toEncoding ∷ AnyCardanoEra → Encoding # toJSONList ∷ [AnyCardanoEra] → Value # toEncodingList ∷ [AnyCardanoEra] → Encoding # | |
ToJSON Month | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Month → Encoding # toJSONList ∷ [Month] → Value # toEncodingList ∷ [Month] → Encoding # | |
ToJSON Quarter | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Quarter → Encoding # toJSONList ∷ [Quarter] → Value # toEncodingList ∷ [Quarter] → Encoding # | |
ToJSON QuarterOfYear | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ QuarterOfYear → Value # toEncoding ∷ QuarterOfYear → Encoding # toJSONList ∷ [QuarterOfYear] → Value # toEncodingList ∷ [QuarterOfYear] → Encoding # | |
ToJSON PositiveUnitInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON ∷ PositiveUnitInterval → Value # toEncoding ∷ PositiveUnitInterval → Encoding # toJSONList ∷ [PositiveUnitInterval] → Value # toEncodingList ∷ [PositiveUnitInterval] → Encoding # | |
ToJSON EpochNumber | |
Defined in Cardano.Chain.Slotting.EpochNumber Methods toJSON ∷ EpochNumber → Value # toEncoding ∷ EpochNumber → Encoding # toJSONList ∷ [EpochNumber] → Value # toEncodingList ∷ [EpochNumber] → Encoding # | |
ToJSON SlotNumber | |
Defined in Cardano.Chain.Slotting.SlotNumber Methods toEncoding ∷ SlotNumber → Encoding # toJSONList ∷ [SlotNumber] → Value # toEncodingList ∷ [SlotNumber] → Encoding # | |
ToJSON RequiresNetworkMagic | |
Defined in Cardano.Crypto.ProtocolMagic Methods toJSON ∷ RequiresNetworkMagic → Value # toEncoding ∷ RequiresNetworkMagic → Encoding # toJSONList ∷ [RequiresNetworkMagic] → Value # toEncodingList ∷ [RequiresNetworkMagic] → Encoding # | |
ToJSON ProtocolVersion | |
Defined in Cardano.Chain.Update.ProtocolVersion Methods toJSON ∷ ProtocolVersion → Value # toEncoding ∷ ProtocolVersion → Encoding # toJSONList ∷ [ProtocolVersion] → Value # toEncodingList ∷ [ProtocolVersion] → Encoding # | |
ToJSON ProtocolMagicId | |
Defined in Cardano.Crypto.ProtocolMagic Methods toJSON ∷ ProtocolMagicId → Value # toEncoding ∷ ProtocolMagicId → Encoding # toJSONList ∷ [ProtocolMagicId] → Value # toEncodingList ∷ [ProtocolMagicId] → Encoding # | |
ToJSON SoftwareVersion | |
Defined in Cardano.Chain.Update.SoftwareVersion Methods toJSON ∷ SoftwareVersion → Value # toEncoding ∷ SoftwareVersion → Encoding # toJSONList ∷ [SoftwareVersion] → Value # toEncodingList ∷ [SoftwareVersion] → Encoding # | |
ToJSON CompactRedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.Compact Methods toJSON ∷ CompactRedeemVerificationKey → Value # toEncoding ∷ CompactRedeemVerificationKey → Encoding # toJSONList ∷ [CompactRedeemVerificationKey] → Value # toEncodingList ∷ [CompactRedeemVerificationKey] → Encoding # | |
ToJSON Lovelace | |
Defined in Cardano.Chain.Common.Lovelace Methods toEncoding ∷ Lovelace → Encoding # toJSONList ∷ [Lovelace] → Value # toEncodingList ∷ [Lovelace] → Encoding # | |
ToJSON VerificationKey | |
Defined in Cardano.Crypto.Signing.VerificationKey Methods toJSON ∷ VerificationKey → Value # toEncoding ∷ VerificationKey → Encoding # toJSONList ∷ [VerificationKey] → Value # toEncodingList ∷ [VerificationKey] → Encoding # | |
ToJSON GenesisHash | |
Defined in Cardano.Chain.Genesis.Hash Methods toJSON ∷ GenesisHash → Value # toEncoding ∷ GenesisHash → Encoding # toJSONList ∷ [GenesisHash] → Value # toEncodingList ∷ [GenesisHash] → Encoding # | |
ToJSON Tx | |
Defined in Cardano.Chain.UTxO.Tx | |
ToJSON ProtocolMagic | |
Defined in Cardano.Crypto.ProtocolMagic Methods toJSON ∷ ProtocolMagic → Value # toEncoding ∷ ProtocolMagic → Encoding # toJSONList ∷ [ProtocolMagic] → Value # toEncodingList ∷ [ProtocolMagic] → Encoding # | |
ToJSON SystemStart Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ SystemStart → Value # toEncoding ∷ SystemStart → Encoding # toJSONList ∷ [SystemStart] → Value # toEncodingList ∷ [SystemStart] → Encoding # | |
ToJSON Nonce | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding ∷ Nonce → Encoding # toJSONList ∷ [Nonce] → Value # toEncodingList ∷ [Nonce] → Encoding # | |
ToJSON RewardParams | |
Defined in Cardano.Ledger.Shelley.API.Wallet Methods toJSON ∷ RewardParams → Value # toEncoding ∷ RewardParams → Encoding # toJSONList ∷ [RewardParams] → Value # toEncodingList ∷ [RewardParams] → Encoding # | |
ToJSON RewardInfoPool | |
Defined in Cardano.Ledger.Shelley.API.Wallet Methods toJSON ∷ RewardInfoPool → Value # toEncoding ∷ RewardInfoPool → Encoding # toJSONList ∷ [RewardInfoPool] → Value # toEncodingList ∷ [RewardInfoPool] → Encoding # | |
ToJSON ByteString64 | |
Defined in Data.ByteString.Base64.Type Methods toJSON ∷ ByteString64 → Value # toEncoding ∷ ByteString64 → Encoding # toJSONList ∷ [ByteString64] → Value # toEncodingList ∷ [ByteString64] → Encoding # | |
ToJSON RedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.VerificationKey Methods toJSON ∷ RedeemVerificationKey → Value # toEncoding ∷ RedeemVerificationKey → Encoding # toJSONList ∷ [RedeemVerificationKey] → Value # toEncodingList ∷ [RedeemVerificationKey] → Encoding # | |
ToJSON StakingCredential | |
Defined in Plutus.V1.Ledger.Credential Methods toJSON ∷ StakingCredential → Value # toEncoding ∷ StakingCredential → Encoding # toJSONList ∷ [StakingCredential] → Value # toEncodingList ∷ [StakingCredential] → Encoding # | |
ToJSON POSIXTime | |
Defined in Plutus.V1.Ledger.Time Methods toEncoding ∷ POSIXTime → Encoding # toJSONList ∷ [POSIXTime] → Value # toEncodingList ∷ [POSIXTime] → Encoding # | |
ToJSON Address | |
Defined in Plutus.V1.Ledger.Address Methods toEncoding ∷ Address → Encoding # toJSONList ∷ [Address] → Value # toEncodingList ∷ [Address] → Encoding # | |
ToJSON TxOut | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding ∷ TxOut → Encoding # toJSONList ∷ [TxOut] → Value # toEncodingList ∷ [TxOut] → Encoding # | |
ToJSON PubKeyHash | |
Defined in Plutus.V1.Ledger.Crypto Methods toEncoding ∷ PubKeyHash → Encoding # toJSONList ∷ [PubKeyHash] → Value # toEncodingList ∷ [PubKeyHash] → Encoding # | |
ToJSON Credential | |
Defined in Plutus.V1.Ledger.Credential Methods toEncoding ∷ Credential → Encoding # toJSONList ∷ [Credential] → Value # toEncodingList ∷ [Credential] → Encoding # | |
ToJSON DCert | |
Defined in Plutus.V1.Ledger.DCert Methods toEncoding ∷ DCert → Encoding # toJSONList ∷ [DCert] → Value # toEncodingList ∷ [DCert] → Encoding # | |
ToJSON TxId | |
Defined in Plutus.V1.Ledger.TxId Methods toEncoding ∷ TxId → Encoding # toJSONList ∷ [TxId] → Value # toEncodingList ∷ [TxId] → Encoding # | |
ToJSON TxOutRef | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding ∷ TxOutRef → Encoding # toJSONList ∷ [TxOutRef] → Value # toEncodingList ∷ [TxOutRef] → Encoding # | |
ToJSON ChainDifficulty | |
Defined in Cardano.Chain.Common.ChainDifficulty Methods toJSON ∷ ChainDifficulty → Value # toEncoding ∷ ChainDifficulty → Encoding # toJSONList ∷ [ChainDifficulty] → Value # toEncodingList ∷ [ChainDifficulty] → Encoding # | |
ToJSON Proof | |
Defined in Cardano.Chain.Block.Proof Methods toEncoding ∷ Proof → Encoding # toJSONList ∷ [Proof] → Value # toEncodingList ∷ [Proof] → Encoding # | |
ToJSON SscPayload | |
Defined in Cardano.Chain.Ssc Methods toEncoding ∷ SscPayload → Encoding # toJSONList ∷ [SscPayload] → Value # toEncodingList ∷ [SscPayload] → Encoding # | |
ToJSON ProposalBody | |
Defined in Cardano.Chain.Update.Proposal Methods toJSON ∷ ProposalBody → Value # toEncoding ∷ ProposalBody → Encoding # toJSONList ∷ [ProposalBody] → Value # toEncodingList ∷ [ProposalBody] → Encoding # | |
ToJSON TxInWitness | |
Defined in Cardano.Chain.UTxO.TxWitness Methods toJSON ∷ TxInWitness → Value # toEncoding ∷ TxInWitness → Encoding # toJSONList ∷ [TxInWitness] → Value # toEncodingList ∷ [TxInWitness] → Encoding # | |
ToJSON TxProof | |
Defined in Cardano.Chain.UTxO.TxProof Methods toEncoding ∷ TxProof → Encoding # toJSONList ∷ [TxProof] → Value # toEncodingList ∷ [TxProof] → Encoding # | |
ToJSON SscProof | |
Defined in Cardano.Chain.Ssc Methods toEncoding ∷ SscProof → Encoding # toJSONList ∷ [SscProof] → Value # toEncodingList ∷ [SscProof] → Encoding # | |
ToJSON ApplicationName | |
Defined in Cardano.Chain.Update.ApplicationName Methods toJSON ∷ ApplicationName → Value # toEncoding ∷ ApplicationName → Encoding # toJSONList ∷ [ApplicationName] → Value # toEncodingList ∷ [ApplicationName] → Encoding # | |
ToJSON AddrAttributes | |
Defined in Cardano.Chain.Common.AddrAttributes Methods toJSON ∷ AddrAttributes → Value # toEncoding ∷ AddrAttributes → Encoding # toJSONList ∷ [AddrAttributes] → Value # toEncodingList ∷ [AddrAttributes] → Encoding # | |
ToJSON HDAddressPayload | |
Defined in Cardano.Chain.Common.AddrAttributes Methods toJSON ∷ HDAddressPayload → Value # toEncoding ∷ HDAddressPayload → Encoding # toJSONList ∷ [HDAddressPayload] → Value # toEncodingList ∷ [HDAddressPayload] → Encoding # | |
ToJSON NetworkMagic | |
Defined in Cardano.Chain.Common.NetworkMagic Methods toJSON ∷ NetworkMagic → Value # toEncoding ∷ NetworkMagic → Encoding # toJSONList ∷ [NetworkMagic] → Value # toEncodingList ∷ [NetworkMagic] → Encoding # | |
ToJSON UnparsedFields | |
Defined in Cardano.Chain.Common.Attributes Methods toJSON ∷ UnparsedFields → Value # toEncoding ∷ UnparsedFields → Encoding # toJSONList ∷ [UnparsedFields] → Value # toEncodingList ∷ [UnparsedFields] → Encoding # | |
ToJSON AddrType | |
Defined in Cardano.Chain.Common.AddrSpendingData Methods toEncoding ∷ AddrType → Encoding # toJSONList ∷ [AddrType] → Value # toEncodingList ∷ [AddrType] → Encoding # | |
ToJSON Address | |
Defined in Cardano.Chain.Common.Address Methods toEncoding ∷ Address → Encoding # toJSONList ∷ [Address] → Value # toEncodingList ∷ [Address] → Encoding # | |
ToJSON LovelacePortion | |
Defined in Cardano.Chain.Common.LovelacePortion Methods toJSON ∷ LovelacePortion → Value # toEncoding ∷ LovelacePortion → Encoding # toJSONList ∷ [LovelacePortion] → Value # toEncodingList ∷ [LovelacePortion] → Encoding # | |
ToJSON TxFeePolicy | |
Defined in Cardano.Chain.Common.TxFeePolicy Methods toJSON ∷ TxFeePolicy → Value # toEncoding ∷ TxFeePolicy → Encoding # toJSONList ∷ [TxFeePolicy] → Value # toEncodingList ∷ [TxFeePolicy] → Encoding # | |
ToJSON TxSizeLinear | |
Defined in Cardano.Chain.Common.TxSizeLinear Methods toJSON ∷ TxSizeLinear → Value # toEncoding ∷ TxSizeLinear → Encoding # toJSONList ∷ [TxSizeLinear] → Value # toEncodingList ∷ [TxSizeLinear] → Encoding # | |
ToJSON TxIn | |
Defined in Cardano.Chain.UTxO.Tx Methods toEncoding ∷ TxIn → Encoding # toJSONList ∷ [TxIn] → Value # toEncodingList ∷ [TxIn] → Encoding # | |
ToJSON TxOut | |
Defined in Cardano.Chain.UTxO.Tx Methods toEncoding ∷ TxOut → Encoding # toJSONList ∷ [TxOut] → Value # toEncodingList ∷ [TxOut] → Encoding # | |
ToJSON TxSigData | |
Defined in Cardano.Chain.UTxO.TxWitness Methods toEncoding ∷ TxSigData → Encoding # toJSONList ∷ [TxSigData] → Value # toEncodingList ∷ [TxSigData] → Encoding # | |
ToJSON InstallerHash | |
Defined in Cardano.Chain.Update.InstallerHash Methods toJSON ∷ InstallerHash → Value # toEncoding ∷ InstallerHash → Encoding # toJSONList ∷ [InstallerHash] → Value # toEncodingList ∷ [InstallerHash] → Encoding # | |
ToJSON SystemTag | |
Defined in Cardano.Chain.Update.SystemTag Methods toEncoding ∷ SystemTag → Encoding # toJSONList ∷ [SystemTag] → Value # toEncodingList ∷ [SystemTag] → Encoding # | |
ToJSON ProtocolParametersUpdate | |
Defined in Cardano.Chain.Update.ProtocolParametersUpdate Methods toJSON ∷ ProtocolParametersUpdate → Value # toEncoding ∷ ProtocolParametersUpdate → Encoding # toJSONList ∷ [ProtocolParametersUpdate] → Value # toEncodingList ∷ [ProtocolParametersUpdate] → Encoding # | |
ToJSON SoftforkRule | |
Defined in Cardano.Chain.Update.SoftforkRule Methods toJSON ∷ SoftforkRule → Value # toEncoding ∷ SoftforkRule → Encoding # toJSONList ∷ [SoftforkRule] → Value # toEncodingList ∷ [SoftforkRule] → Encoding # | |
ToJSON TxIx Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ TxIx → Encoding # toJSONList ∷ [TxIx] → Value # toEncodingList ∷ [TxIx] → Encoding # | |
ToJSON CertIx Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ CertIx → Encoding # toJSONList ∷ [CertIx] → Value # toEncodingList ∷ [CertIx] → Encoding # | |
ToJSON DnsName | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding ∷ DnsName → Encoding # toJSONList ∷ [DnsName] → Value # toEncodingList ∷ [DnsName] → Encoding # | |
ToJSON Port | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding ∷ Port → Encoding # toJSONList ∷ [Port] → Value # toEncodingList ∷ [Port] → Encoding # | |
ToJSON PositiveInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON ∷ PositiveInterval → Value # toEncoding ∷ PositiveInterval → Encoding # toJSONList ∷ [PositiveInterval] → Value # toEncodingList ∷ [PositiveInterval] → Encoding # | |
ToJSON Url | |
Defined in Cardano.Ledger.BaseTypes | |
ToJSON DeltaCoin Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ DeltaCoin → Encoding # toJSONList ∷ [DeltaCoin] → Value # toEncodingList ∷ [DeltaCoin] → Encoding # | |
ToJSON AccountState Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ AccountState → Value # toEncoding ∷ AccountState → Encoding # toJSONList ∷ [AccountState] → Value # toEncodingList ∷ [AccountState] → Encoding # | |
ToJSON Likelihood Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ Likelihood → Encoding # toJSONList ∷ [Likelihood] → Value # toEncodingList ∷ [Likelihood] → Encoding # | |
ToJSON RewardType Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ RewardType → Encoding # toJSONList ∷ [RewardType] → Value # toEncodingList ∷ [RewardType] → Encoding # | |
ToJSON SatInt | |
Defined in Data.SatInt Methods toEncoding ∷ SatInt → Encoding # toJSONList ∷ [SatInt] → Value # toEncodingList ∷ [SatInt] → Encoding # | |
ToJSON ModelAddedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelAddedSizes → Value # toEncoding ∷ ModelAddedSizes → Encoding # toJSONList ∷ [ModelAddedSizes] → Value # toEncodingList ∷ [ModelAddedSizes] → Encoding # | |
ToJSON ModelConstantOrLinear | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelConstantOrLinear → Value # toEncoding ∷ ModelConstantOrLinear → Encoding # toJSONList ∷ [ModelConstantOrLinear] → Value # toEncodingList ∷ [ModelConstantOrLinear] → Encoding # | |
ToJSON ModelConstantOrTwoArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelConstantOrTwoArguments → Value # toEncoding ∷ ModelConstantOrTwoArguments → Encoding # toJSONList ∷ [ModelConstantOrTwoArguments] → Value # toEncodingList ∷ [ModelConstantOrTwoArguments] → Encoding # | |
ToJSON ModelFiveArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelFiveArguments → Value # toEncoding ∷ ModelFiveArguments → Encoding # toJSONList ∷ [ModelFiveArguments] → Value # toEncodingList ∷ [ModelFiveArguments] → Encoding # | |
ToJSON ModelFourArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelFourArguments → Value # toEncoding ∷ ModelFourArguments → Encoding # toJSONList ∷ [ModelFourArguments] → Value # toEncodingList ∷ [ModelFourArguments] → Encoding # | |
ToJSON ModelLinearSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelLinearSize → Value # toEncoding ∷ ModelLinearSize → Encoding # toJSONList ∷ [ModelLinearSize] → Value # toEncodingList ∷ [ModelLinearSize] → Encoding # | |
ToJSON ModelMaxSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelMaxSize → Value # toEncoding ∷ ModelMaxSize → Encoding # toJSONList ∷ [ModelMaxSize] → Value # toEncodingList ∷ [ModelMaxSize] → Encoding # | |
ToJSON ModelMinSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelMinSize → Value # toEncoding ∷ ModelMinSize → Encoding # toJSONList ∷ [ModelMinSize] → Value # toEncodingList ∷ [ModelMinSize] → Encoding # | |
ToJSON ModelMultipliedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelMultipliedSizes → Value # toEncoding ∷ ModelMultipliedSizes → Encoding # toJSONList ∷ [ModelMultipliedSizes] → Value # toEncodingList ∷ [ModelMultipliedSizes] → Encoding # | |
ToJSON ModelOneArgument | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelOneArgument → Value # toEncoding ∷ ModelOneArgument → Encoding # toJSONList ∷ [ModelOneArgument] → Value # toEncodingList ∷ [ModelOneArgument] → Encoding # | |
ToJSON ModelSixArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelSixArguments → Value # toEncoding ∷ ModelSixArguments → Encoding # toJSONList ∷ [ModelSixArguments] → Value # toEncodingList ∷ [ModelSixArguments] → Encoding # | |
ToJSON ModelSubtractedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelSubtractedSizes → Value # toEncoding ∷ ModelSubtractedSizes → Encoding # toJSONList ∷ [ModelSubtractedSizes] → Value # toEncodingList ∷ [ModelSubtractedSizes] → Encoding # | |
ToJSON ModelThreeArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelThreeArguments → Value # toEncoding ∷ ModelThreeArguments → Encoding # toJSONList ∷ [ModelThreeArguments] → Value # toEncodingList ∷ [ModelThreeArguments] → Encoding # | |
ToJSON ModelTwoArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelTwoArguments → Value # toEncoding ∷ ModelTwoArguments → Encoding # toJSONList ∷ [ModelTwoArguments] → Value # toEncodingList ∷ [ModelTwoArguments] → Encoding # | |
ToJSON CekMachineCosts | |
Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts Methods toJSON ∷ CekMachineCosts → Value # toEncoding ∷ CekMachineCosts → Encoding # toJSONList ∷ [CekMachineCosts] → Value # toEncodingList ∷ [CekMachineCosts] → Encoding # | |
ToJSON Ada | |
Defined in Plutus.V1.Ledger.Ada | |
ToJSON LedgerBytes | |
Defined in Plutus.V1.Ledger.Bytes Methods toJSON ∷ LedgerBytes → Value # toEncoding ∷ LedgerBytes → Encoding # toJSONList ∷ [LedgerBytes] → Value # toEncodingList ∷ [LedgerBytes] → Encoding # | |
ToJSON Signature | |
Defined in Plutus.V1.Ledger.Crypto Methods toEncoding ∷ Signature → Encoding # toJSONList ∷ [Signature] → Value # toEncodingList ∷ [Signature] → Encoding # | |
ToJSON PubKey | |
Defined in Plutus.V1.Ledger.Crypto Methods toEncoding ∷ PubKey → Encoding # toJSONList ∷ [PubKey] → Value # toEncodingList ∷ [PubKey] → Encoding # | |
ToJSON PrivateKey | |
Defined in Plutus.V1.Ledger.Crypto Methods toEncoding ∷ PrivateKey → Encoding # toJSONList ∷ [PrivateKey] → Value # toEncodingList ∷ [PrivateKey] → Encoding # | |
ToJSON Slot | |
Defined in Plutus.V1.Ledger.Slot Methods toEncoding ∷ Slot → Encoding # toJSONList ∷ [Slot] → Value # toEncodingList ∷ [Slot] → Encoding # | |
ToJSON DiffMilliSeconds | |
Defined in Plutus.V1.Ledger.Time Methods toJSON ∷ DiffMilliSeconds → Value # toEncoding ∷ DiffMilliSeconds → Encoding # toJSONList ∷ [DiffMilliSeconds] → Value # toEncodingList ∷ [DiffMilliSeconds] → Encoding # | |
ToJSON RedeemerPtr | |
Defined in Plutus.V1.Ledger.Tx Methods toJSON ∷ RedeemerPtr → Value # toEncoding ∷ RedeemerPtr → Encoding # toJSONList ∷ [RedeemerPtr] → Value # toEncodingList ∷ [RedeemerPtr] → Encoding # | |
ToJSON ScriptTag | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding ∷ ScriptTag → Encoding # toJSONList ∷ [ScriptTag] → Value # toEncodingList ∷ [ScriptTag] → Encoding # | |
ToJSON Tx | |
Defined in Plutus.V1.Ledger.Tx | |
ToJSON TxIn | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding ∷ TxIn → Encoding # toJSONList ∷ [TxIn] → Value # toEncodingList ∷ [TxIn] → Encoding # | |
ToJSON TxInType | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding ∷ TxInType → Encoding # toJSONList ∷ [TxInType] → Value # toEncodingList ∷ [TxInType] → Encoding # | |
ToJSON TxOutTx | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding ∷ TxOutTx → Encoding # toJSONList ∷ [TxOutTx] → Value # toEncodingList ∷ [TxOutTx] → Encoding # | |
ToJSON PeerAdvertise | |
Defined in Ouroboros.Network.PeerSelection.Types Methods toJSON ∷ PeerAdvertise → Value # toEncoding ∷ PeerAdvertise → Encoding # toJSONList ∷ [PeerAdvertise] → Value # toEncodingList ∷ [PeerAdvertise] → Encoding # | |
ToJSON StudentT | |
Defined in Statistics.Distribution.StudentT Methods toEncoding ∷ StudentT → Encoding # toJSONList ∷ [StudentT] → Value # toEncodingList ∷ [StudentT] → Encoding # | |
ToJSON TextEnvelope Source # | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON ∷ TextEnvelope → Value # toEncoding ∷ TextEnvelope → Encoding # toJSONList ∷ [TextEnvelope] → Value # toEncodingList ∷ [TextEnvelope] → Encoding # | |
ToJSON TextEnvelopeDescr Source # | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON ∷ TextEnvelopeDescr → Value # toEncoding ∷ TextEnvelopeDescr → Encoding # toJSONList ∷ [TextEnvelopeDescr] → Value # toEncodingList ∷ [TextEnvelopeDescr] → Encoding # | |
ToJSON TextEnvelopeType Source # | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON ∷ TextEnvelopeType → Value # toEncoding ∷ TextEnvelopeType → Encoding # toJSONList ∷ [TextEnvelopeType] → Value # toEncodingList ∷ [TextEnvelopeType] → Encoding # | |
ToJSON TxSubmitStatus Source # | |
Defined in Cardano.Api.TxSubmit.Types Methods toJSON ∷ TxSubmitStatus → Value # toEncoding ∷ TxSubmitStatus → Encoding # toJSONList ∷ [TxSubmitStatus] → Value # toEncodingList ∷ [TxSubmitStatus] → Encoding # | |
ToJSON ScriptHash Source # | |
Defined in Cardano.Api.Script Methods toJSON ∷ ScriptHash → Value # toEncoding ∷ ScriptHash → Encoding # toJSONList ∷ [ScriptHash] → Value # toEncodingList ∷ [ScriptHash] → Encoding # | |
ToJSON ExecutionUnits Source # | |
Defined in Cardano.Api.Script Methods toJSON ∷ ExecutionUnits → Value # toEncoding ∷ ExecutionUnits → Encoding # toJSONList ∷ [ExecutionUnits] → Value # toEncodingList ∷ [ExecutionUnits] → Encoding # | |
ToJSON AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Script Methods toJSON ∷ AnyPlutusScriptVersion → Value # toEncoding ∷ AnyPlutusScriptVersion → Encoding # toJSONList ∷ [AnyPlutusScriptVersion] → Value # toEncodingList ∷ [AnyPlutusScriptVersion] → Encoding # | |
ToJSON StakeAddress Source # | |
Defined in Cardano.Api.Address Methods toJSON ∷ StakeAddress → Value # toEncoding ∷ StakeAddress → Encoding # toJSONList ∷ [StakeAddress] → Value # toEncodingList ∷ [StakeAddress] → Encoding # | |
ToJSON ValueNestedRep Source # | |
Defined in Cardano.Api.Value Methods toJSON ∷ ValueNestedRep → Value # toEncoding ∷ ValueNestedRep → Encoding # toJSONList ∷ [ValueNestedRep] → Value # toEncodingList ∷ [ValueNestedRep] → Encoding # | |
ToJSON Value Source # | |
Defined in Cardano.Api.Value Methods toEncoding ∷ Value → Encoding # toJSONList ∷ [Value] → Value0 # toEncodingList ∷ [Value] → Encoding # | |
ToJSON AssetName Source # | |
Defined in Cardano.Api.Value Methods toEncoding ∷ AssetName → Encoding # toJSONList ∷ [AssetName] → Value # toEncodingList ∷ [AssetName] → Encoding # | |
ToJSON PolicyId Source # | |
Defined in Cardano.Api.Value Methods toEncoding ∷ PolicyId → Encoding # toJSONList ∷ [PolicyId] → Value # toEncodingList ∷ [PolicyId] → Encoding # | |
ToJSON Quantity Source # | |
Defined in Cardano.Api.Value Methods toEncoding ∷ Quantity → Encoding # toJSONList ∷ [Quantity] → Value # toEncodingList ∷ [Quantity] → Encoding # | |
ToJSON Lovelace Source # | |
Defined in Cardano.Api.Value Methods toEncoding ∷ Lovelace → Encoding # toJSONList ∷ [Lovelace] → Value # toEncodingList ∷ [Lovelace] → Encoding # | |
ToJSON CostModel Source # | |
Defined in Cardano.Api.ProtocolParameters Methods toEncoding ∷ CostModel → Encoding # toJSONList ∷ [CostModel] → Value # toEncodingList ∷ [CostModel] → Encoding # | |
ToJSON ExecutionUnitPrices Source # | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON ∷ ExecutionUnitPrices → Value # toEncoding ∷ ExecutionUnitPrices → Encoding # toJSONList ∷ [ExecutionUnitPrices] → Value # toEncodingList ∷ [ExecutionUnitPrices] → Encoding # | |
ToJSON PraosNonce Source # | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON ∷ PraosNonce → Value # toEncoding ∷ PraosNonce → Encoding # toJSONList ∷ [PraosNonce] → Value # toEncodingList ∷ [PraosNonce] → Encoding # | |
ToJSON ProtocolParameters Source # | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON ∷ ProtocolParameters → Value # toEncoding ∷ ProtocolParameters → Encoding # toJSONList ∷ [ProtocolParameters] → Value # toEncodingList ∷ [ProtocolParameters] → Encoding # | |
ToJSON TxIx Source # | |
Defined in Cardano.Api.TxBody Methods toEncoding ∷ TxIx → Encoding # toJSONList ∷ [TxIx] → Value # toEncodingList ∷ [TxIx] → Encoding # | |
ToJSON TxIn Source # | |
Defined in Cardano.Api.TxBody Methods toEncoding ∷ TxIn → Encoding # toJSONList ∷ [TxIn] → Value # toEncodingList ∷ [TxIn] → Encoding # | |
ToJSON TxId Source # | |
Defined in Cardano.Api.TxBody Methods toEncoding ∷ TxId → Encoding # toJSONList ∷ [TxId] → Value # toEncodingList ∷ [TxId] → Encoding # | |
ToJSON TextEnvelopeCddl Source # | |
Defined in Cardano.Api.SerialiseLedgerCddl Methods toJSON ∷ TextEnvelopeCddl → Value # toEncoding ∷ TextEnvelopeCddl → Encoding # toJSONList ∷ [TextEnvelopeCddl] → Value # toEncodingList ∷ [TextEnvelopeCddl] → Encoding # | |
ToJSON ChainTip Source # | |
Defined in Cardano.Api.Block Methods toEncoding ∷ ChainTip → Encoding # toJSONList ∷ [ChainTip] → Value # toEncodingList ∷ [ChainTip] → Encoding # | |
ToJSON a ⇒ ToJSON [a] | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON a ⇒ ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Maybe a → Encoding # toJSONList ∷ [Maybe a] → Value # toEncodingList ∷ [Maybe a] → Encoding # | |
(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Ratio a → Encoding # toJSONList ∷ [Ratio a] → Value # toEncodingList ∷ [Ratio a] → Encoding # | |
ToJSON a ⇒ ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ First a → Encoding # toJSONList ∷ [First a] → Value # toEncodingList ∷ [First a] → Encoding # | |
ToJSON a ⇒ ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Last a → Encoding # toJSONList ∷ [Last a] → Value # toEncodingList ∷ [Last a] → Encoding # | |
ToJSON a ⇒ ToJSON (Set a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Set a → Encoding # toJSONList ∷ [Set a] → Value # toEncodingList ∷ [Set a] → Encoding # | |
ToJSON a ⇒ ToJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ NonEmpty a → Encoding # toJSONList ∷ [NonEmpty a] → Value # toEncodingList ∷ [NonEmpty a] → Encoding # | |
ToJSON a ⇒ ToJSON (Identity a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Identity a → Encoding # toJSONList ∷ [Identity a] → Value # toEncodingList ∷ [Identity a] → Encoding # | |
ToJSON a ⇒ ToJSON (Min a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Min a → Encoding # toJSONList ∷ [Min a] → Value # toEncodingList ∷ [Min a] → Encoding # | |
ToJSON a ⇒ ToJSON (Max a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Max a → Encoding # toJSONList ∷ [Max a] → Value # toEncodingList ∷ [Max a] → Encoding # | |
ToJSON a ⇒ ToJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ WrappedMonoid a → Value # toEncoding ∷ WrappedMonoid a → Encoding # toJSONList ∷ [WrappedMonoid a] → Value # toEncodingList ∷ [WrappedMonoid a] → Encoding # | |
ToJSON a ⇒ ToJSON (Option a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Option a → Encoding # toJSONList ∷ [Option a] → Value # toEncodingList ∷ [Option a] → Encoding # | |
ToJSON a ⇒ ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ First a → Encoding # toJSONList ∷ [First a] → Value # toEncodingList ∷ [First a] → Encoding # | |
ToJSON a ⇒ ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Last a → Encoding # toJSONList ∷ [Last a] → Value # toEncodingList ∷ [Last a] → Encoding # | |
ToJSON a ⇒ ToJSON (Dual a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Dual a → Encoding # toJSONList ∷ [Dual a] → Value # toEncodingList ∷ [Dual a] → Encoding # | |
ToJSON a ⇒ ToJSON (IntMap a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ IntMap a → Encoding # toJSONList ∷ [IntMap a] → Value # toEncodingList ∷ [IntMap a] → Encoding # | |
ToJSON v ⇒ ToJSON (Tree v) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Tree v → Encoding # toJSONList ∷ [Tree v] → Value # toEncodingList ∷ [Tree v] → Encoding # | |
ToJSON a ⇒ ToJSON (Seq a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Seq a → Encoding # toJSONList ∷ [Seq a] → Value # toEncodingList ∷ [Seq a] → Encoding # | |
(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
ToJSON a ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
ToJSON1 f ⇒ ToJSON (Fix f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Fix f → Encoding # toJSONList ∷ [Fix f] → Value # toEncodingList ∷ [Fix f] → Encoding # | |
(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Mu f → Encoding # toJSONList ∷ [Mu f] → Value # toEncodingList ∷ [Mu f] → Encoding # | |
(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Nu f → Encoding # toJSONList ∷ [Nu f] → Value # toEncodingList ∷ [Nu f] → Encoding # | |
ToJSON a ⇒ ToJSON (DNonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ DNonEmpty a → Value # toEncoding ∷ DNonEmpty a → Encoding # toJSONList ∷ [DNonEmpty a] → Value # toEncodingList ∷ [DNonEmpty a] → Encoding # | |
ToJSON a ⇒ ToJSON (DList a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DList a → Encoding # toJSONList ∷ [DList a] → Value # toEncodingList ∷ [DList a] → Encoding # | |
ToJSON a ⇒ ToJSON (Array a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Array a → Encoding # toJSONList ∷ [Array a] → Value # toEncodingList ∷ [Array a] → Encoding # | |
(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ PrimArray a → Value # toEncoding ∷ PrimArray a → Encoding # toJSONList ∷ [PrimArray a] → Value # toEncodingList ∷ [PrimArray a] → Encoding # | |
ToJSON a ⇒ ToJSON (SmallArray a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ SmallArray a → Value # toEncoding ∷ SmallArray a → Encoding # toJSONList ∷ [SmallArray a] → Value # toEncodingList ∷ [SmallArray a] → Encoding # | |
ToJSON a ⇒ ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Maybe a → Encoding # toJSONList ∷ [Maybe a] → Value # toEncodingList ∷ [Maybe a] → Encoding # | |
ToJSON a ⇒ ToJSON (HashSet a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ HashSet a → Encoding # toJSONList ∷ [HashSet a] → Value # toEncodingList ∷ [HashSet a] → Encoding # | |
(Prim a, ToJSON a) ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
(Storable a, ToJSON a) ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (PPUPState era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ PPUPState era → Value # toEncoding ∷ PPUPState era → Encoding # toJSONList ∷ [PPUPState era] → Value # toEncodingList ∷ [PPUPState era] → Encoding # | |
ToJSON a ⇒ ToJSON (StrictMaybe a) | |
Defined in Data.Maybe.Strict Methods toJSON ∷ StrictMaybe a → Value # toEncoding ∷ StrictMaybe a → Encoding # toJSONList ∷ [StrictMaybe a] → Value # toEncodingList ∷ [StrictMaybe a] → Encoding # | |
(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (UTxOState era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ UTxOState era → Value # toEncoding ∷ UTxOState era → Encoding # toJSONList ∷ [UTxOState era] → Value # toEncodingList ∷ [UTxOState era] → Encoding # | |
Crypto crypto ⇒ ToJSON (DPState crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ DPState crypto → Value # toEncoding ∷ DPState crypto → Encoding # toJSONList ∷ [DPState crypto] → Value # toEncodingList ∷ [DPState crypto] → Encoding # | |
ToJSON (Value era) Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ Value era → Encoding # toJSONList ∷ [Value era] → Value0 # toEncodingList ∷ [Value era] → Encoding # | |
(ShelleyBasedEra era, ToJSON (Value era)) ⇒ ToJSON (TxOut era) Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ TxOut era → Encoding # toJSONList ∷ [TxOut era] → Value # toEncodingList ∷ [TxOut era] → Encoding # | |
ToJSON (PParamsUpdate era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ PParamsUpdate era → Value # toEncoding ∷ PParamsUpdate era → Encoding # toJSONList ∷ [PParamsUpdate era] → Value # toEncodingList ∷ [PParamsUpdate era] → Encoding # | |
ToJSON (PParams era) | |
Defined in Cardano.Ledger.Shelley.PParams Methods toJSON ∷ PParams era → Value # toEncoding ∷ PParams era → Encoding # toJSONList ∷ [PParams era] → Value # toEncodingList ∷ [PParams era] → Encoding # | |
Crypto crypto ⇒ ToJSON (ScriptHash crypto) | |
Defined in Cardano.Ledger.Hashes Methods toJSON ∷ ScriptHash crypto → Value # toEncoding ∷ ScriptHash crypto → Encoding # toJSONList ∷ [ScriptHash crypto] → Value # toEncodingList ∷ [ScriptHash crypto] → Encoding # | |
ToJSON (PolicyID era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ PolicyID era → Value # toEncoding ∷ PolicyID era → Encoding # toJSONList ∷ [PolicyID era] → Value # toEncodingList ∷ [PolicyID era] → Encoding # | |
(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParams era), ToJSON (PParamsDelta era)) ⇒ ToJSON (EpochState era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ EpochState era → Value # toEncoding ∷ EpochState era → Encoding # toJSONList ∷ [EpochState era] → Value # toEncodingList ∷ [EpochState era] → Encoding # | |
(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (LedgerState era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ LedgerState era → Value # toEncoding ∷ LedgerState era → Encoding # toJSONList ∷ [LedgerState era] → Value # toEncodingList ∷ [LedgerState era] → Encoding # | |
(ShelleyBasedEra era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) Source # | |
Defined in Cardano.Api.Orphans Methods toEncoding ∷ UTxO era → Encoding # toJSONList ∷ [UTxO era] → Value # toEncodingList ∷ [UTxO era] → Encoding # | |
Crypto crypto ⇒ ToJSON (IncrementalStake crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ IncrementalStake crypto → Value # toEncoding ∷ IncrementalStake crypto → Encoding # toJSONList ∷ [IncrementalStake crypto] → Value # toEncodingList ∷ [IncrementalStake crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (BlocksMade crypto) | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON ∷ BlocksMade crypto → Value # toEncoding ∷ BlocksMade crypto → Encoding # toJSONList ∷ [BlocksMade crypto] → Value # toEncodingList ∷ [BlocksMade crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (PulsingRewUpdate crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ PulsingRewUpdate crypto → Value # toEncoding ∷ PulsingRewUpdate crypto → Encoding # toJSONList ∷ [PulsingRewUpdate crypto] → Value # toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (PoolDistr crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ PoolDistr crypto → Value # toEncoding ∷ PoolDistr crypto → Encoding # toJSONList ∷ [PoolDistr crypto] → Value # toEncodingList ∷ [PoolDistr crypto] → Encoding # | |
(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (ProposedPPUpdates era) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ ProposedPPUpdates era → Value # toEncoding ∷ ProposedPPUpdates era → Encoding # toJSONList ∷ [ProposedPPUpdates era] → Value # toEncodingList ∷ [ProposedPPUpdates era] → Encoding # | |
Era era ⇒ ToJSON (ShelleyGenesis era) | |
Defined in Cardano.Ledger.Shelley.Genesis Methods toJSON ∷ ShelleyGenesis era → Value # toEncoding ∷ ShelleyGenesis era → Encoding # toJSONList ∷ [ShelleyGenesis era] → Value # toEncodingList ∷ [ShelleyGenesis era] → Encoding # | |
Crypto crypto ⇒ ToJSON (GenDelegPair crypto) | |
Defined in Cardano.Ledger.Keys Methods toJSON ∷ GenDelegPair crypto → Value # toEncoding ∷ GenDelegPair crypto → Encoding # toJSONList ∷ [GenDelegPair crypto] → Value # toEncodingList ∷ [GenDelegPair crypto] → Encoding # | |
ToJSON (Addr crypto) | |
Defined in Cardano.Ledger.Address Methods toJSON ∷ Addr crypto → Value # toEncoding ∷ Addr crypto → Encoding # toJSONList ∷ [Addr crypto] → Value # toEncodingList ∷ [Addr crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (ShelleyGenesisStaking crypto) | |
Defined in Cardano.Ledger.Shelley.Genesis Methods toJSON ∷ ShelleyGenesisStaking crypto → Value # toEncoding ∷ ShelleyGenesisStaking crypto → Encoding # toJSONList ∷ [ShelleyGenesisStaking crypto] → Value # toEncodingList ∷ [ShelleyGenesisStaking crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (SnapShots crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ SnapShots crypto → Value # toEncoding ∷ SnapShots crypto → Encoding # toJSONList ∷ [SnapShots crypto] → Value # toEncodingList ∷ [SnapShots crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (NonMyopic crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ NonMyopic crypto → Value # toEncoding ∷ NonMyopic crypto → Encoding # toJSONList ∷ [NonMyopic crypto] → Value # toEncodingList ∷ [NonMyopic crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (TxIn crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ TxIn crypto → Value # toEncoding ∷ TxIn crypto → Encoding # toJSONList ∷ [TxIn crypto] → Value # toEncodingList ∷ [TxIn crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (RewardProvenance crypto) | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods toJSON ∷ RewardProvenance crypto → Value # toEncoding ∷ RewardProvenance crypto → Encoding # toJSONList ∷ [RewardProvenance crypto] → Value # toEncodingList ∷ [RewardProvenance crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (RewardProvenancePool crypto) | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods toJSON ∷ RewardProvenancePool crypto → Value # toEncoding ∷ RewardProvenancePool crypto → Encoding # toJSONList ∷ [RewardProvenancePool crypto] → Value # toEncodingList ∷ [RewardProvenancePool crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (PoolParams crypto) | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON ∷ PoolParams crypto → Value # toEncoding ∷ PoolParams crypto → Encoding # toJSONList ∷ [PoolParams crypto] → Value # toEncodingList ∷ [PoolParams crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (RewardAcnt crypto) | |
Defined in Cardano.Ledger.Address Methods toJSON ∷ RewardAcnt crypto → Value # toEncoding ∷ RewardAcnt crypto → Encoding # toJSONList ∷ [RewardAcnt crypto] → Value # toEncodingList ∷ [RewardAcnt crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (UnifiedMap crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ UnifiedMap crypto → Value # toEncoding ∷ UnifiedMap crypto → Encoding # toJSONList ∷ [UnifiedMap crypto] → Value # toEncodingList ∷ [UnifiedMap crypto] → Encoding # | |
ToJSON (CardanoEra era) Source # | |
Defined in Cardano.Api.Eras Methods toJSON ∷ CardanoEra era → Value # toEncoding ∷ CardanoEra era → Encoding # toJSONList ∷ [CardanoEra era] → Value # toEncodingList ∷ [CardanoEra era] → Encoding # | |
ToJSON (Hash StakePoolKey) Source # | |
Defined in Cardano.Api.KeysShelley Methods toJSON ∷ Hash StakePoolKey → Value # toEncoding ∷ Hash StakePoolKey → Encoding # toJSONList ∷ [Hash StakePoolKey] → Value # toEncodingList ∷ [Hash StakePoolKey] → Encoding # | |
ToJSON (Hash ScriptData) Source # | |
Defined in Cardano.Api.ScriptData Methods toJSON ∷ Hash ScriptData → Value # toEncoding ∷ Hash ScriptData → Encoding # toJSONList ∷ [Hash ScriptData] → Value # toEncodingList ∷ [Hash ScriptData] → Encoding # | |
ToJSON (Hash BlockHeader) Source # | |
Defined in Cardano.Api.Block Methods toJSON ∷ Hash BlockHeader → Value # toEncoding ∷ Hash BlockHeader → Encoding # toJSONList ∷ [Hash BlockHeader] → Value # toEncodingList ∷ [Hash BlockHeader] → Encoding # | |
ToJSON a ⇒ ToJSON (AHeader a) | |
Defined in Cardano.Chain.Block.Header Methods toEncoding ∷ AHeader a → Encoding # toJSONList ∷ [AHeader a] → Value # toEncodingList ∷ [AHeader a] → Encoding # | |
ToJSON a ⇒ ToJSON (ATxAux a) | |
Defined in Cardano.Chain.UTxO.TxAux Methods toEncoding ∷ ATxAux a → Encoding # toJSONList ∷ [ATxAux a] → Value # toEncodingList ∷ [ATxAux a] → Encoding # | |
ToJSON a ⇒ ToJSON (ACertificate a) | |
Defined in Cardano.Chain.Delegation.Certificate Methods toJSON ∷ ACertificate a → Value # toEncoding ∷ ACertificate a → Encoding # toJSONList ∷ [ACertificate a] → Value # toEncodingList ∷ [ACertificate a] → Encoding # | |
ToJSON a ⇒ ToJSON (AProposal a) | |
Defined in Cardano.Chain.Update.Proposal Methods toJSON ∷ AProposal a → Value # toEncoding ∷ AProposal a → Encoding # toJSONList ∷ [AProposal a] → Value # toEncodingList ∷ [AProposal a] → Encoding # | |
ToJSON a ⇒ ToJSON (AVote a) | |
Defined in Cardano.Chain.Update.Vote Methods toEncoding ∷ AVote a → Encoding # toJSONList ∷ [AVote a] → Value # toEncodingList ∷ [AVote a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABlockOrBoundary a) | |
Defined in Cardano.Chain.Block.Block Methods toJSON ∷ ABlockOrBoundary a → Value # toEncoding ∷ ABlockOrBoundary a → Encoding # toJSONList ∷ [ABlockOrBoundary a] → Value # toEncodingList ∷ [ABlockOrBoundary a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABoundaryHeader a) | |
Defined in Cardano.Chain.Block.Header Methods toJSON ∷ ABoundaryHeader a → Value # toEncoding ∷ ABoundaryHeader a → Encoding # toJSONList ∷ [ABoundaryHeader a] → Value # toEncodingList ∷ [ABoundaryHeader a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABoundaryBlock a) | |
Defined in Cardano.Chain.Block.Block Methods toJSON ∷ ABoundaryBlock a → Value # toEncoding ∷ ABoundaryBlock a → Encoding # toJSONList ∷ [ABoundaryBlock a] → Value # toEncodingList ∷ [ABoundaryBlock a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABlock a) | |
Defined in Cardano.Chain.Block.Block Methods toEncoding ∷ ABlock a → Encoding # toJSONList ∷ [ABlock a] → Value # toEncodingList ∷ [ABlock a] → Encoding # | |
Crypto crypto ⇒ ToJSON (SnapShot crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ SnapShot crypto → Value # toEncoding ∷ SnapShot crypto → Encoding # toJSONList ∷ [SnapShot crypto] → Value # toEncodingList ∷ [SnapShot crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (IndividualPoolStake crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ IndividualPoolStake crypto → Value # toEncoding ∷ IndividualPoolStake crypto → Encoding # toJSONList ∷ [IndividualPoolStake crypto] → Value # toEncodingList ∷ [IndividualPoolStake crypto] → Encoding # | |
ToJSON a ⇒ ToJSON (RedeemSignature a) | |
Defined in Cardano.Crypto.Signing.Redeem.Signature Methods toJSON ∷ RedeemSignature a → Value # toEncoding ∷ RedeemSignature a → Encoding # toJSONList ∷ [RedeemSignature a] → Value # toEncodingList ∷ [RedeemSignature a] → Encoding # | |
ToJSON (Signature w) | |
Defined in Cardano.Crypto.Signing.Signature Methods toJSON ∷ Signature w → Value # toEncoding ∷ Signature w → Encoding # toJSONList ∷ [Signature w] → Value # toEncodingList ∷ [Signature w] → Encoding # | |
Crypto crypto ⇒ ToJSON (GenDelegs crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ GenDelegs crypto → Value # toEncoding ∷ GenDelegs crypto → Encoding # toJSONList ∷ [GenDelegs crypto] → Value # toEncodingList ∷ [GenDelegs crypto] → Encoding # | |
ToJSON a ⇒ ToJSON (ABoundaryBody a) | |
Defined in Cardano.Chain.Block.Block Methods toJSON ∷ ABoundaryBody a → Value # toEncoding ∷ ABoundaryBody a → Encoding # toJSONList ∷ [ABoundaryBody a] → Value # toEncodingList ∷ [ABoundaryBody a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABody a) | |
Defined in Cardano.Chain.Block.Body Methods toEncoding ∷ ABody a → Encoding # toJSONList ∷ [ABody a] → Value # toEncodingList ∷ [ABody a] → Encoding # | |
ToJSON a ⇒ ToJSON (APayload a) | |
Defined in Cardano.Chain.Delegation.Payload Methods toEncoding ∷ APayload a → Encoding # toJSONList ∷ [APayload a] → Value # toEncodingList ∷ [APayload a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABlockSignature a) | |
Defined in Cardano.Chain.Block.Header Methods toJSON ∷ ABlockSignature a → Value # toEncoding ∷ ABlockSignature a → Encoding # toJSONList ∷ [ABlockSignature a] → Value # toEncodingList ∷ [ABlockSignature a] → Encoding # | |
ToJSON a ⇒ ToJSON (ATxPayload a) | |
Defined in Cardano.Chain.UTxO.TxPayload Methods toJSON ∷ ATxPayload a → Value # toEncoding ∷ ATxPayload a → Encoding # toJSONList ∷ [ATxPayload a] → Value # toEncodingList ∷ [ATxPayload a] → Encoding # | |
ToJSON a ⇒ ToJSON (APayload a) | |
Defined in Cardano.Chain.Update.Payload Methods toEncoding ∷ APayload a → Encoding # toJSONList ∷ [APayload a] → Value # toEncodingList ∷ [APayload a] → Encoding # | |
ToJSON a ⇒ ToJSON (Attributes a) | |
Defined in Cardano.Chain.Common.Attributes Methods toJSON ∷ Attributes a → Value # toEncoding ∷ Attributes a → Encoding # toJSONList ∷ [Attributes a] → Value # toEncodingList ∷ [Attributes a] → Encoding # | |
ToJSON a ⇒ ToJSON (MerkleRoot a) | |
Defined in Cardano.Chain.Common.Merkle Methods toJSON ∷ MerkleRoot a → Value # toEncoding ∷ MerkleRoot a → Encoding # toJSONList ∷ [MerkleRoot a] → Value # toEncodingList ∷ [MerkleRoot a] → Encoding # | |
Crypto crypto ⇒ ToJSON (RewardUpdate crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ RewardUpdate crypto → Value # toEncoding ∷ RewardUpdate crypto → Encoding # toJSONList ∷ [RewardUpdate crypto] → Value # toEncodingList ∷ [RewardUpdate crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (Stake crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ Stake crypto → Value # toEncoding ∷ Stake crypto → Encoding # toJSONList ∷ [Stake crypto] → Value # toEncodingList ∷ [Stake crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (DState crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ DState crypto → Value # toEncoding ∷ DState crypto → Encoding # toJSONList ∷ [DState crypto] → Value # toEncodingList ∷ [DState crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (FutureGenDeleg crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ FutureGenDeleg crypto → Value # toEncoding ∷ FutureGenDeleg crypto → Encoding # toJSONList ∷ [FutureGenDeleg crypto] → Value # toEncodingList ∷ [FutureGenDeleg crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (InstantaneousRewards crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ InstantaneousRewards crypto → Value # toEncoding ∷ InstantaneousRewards crypto → Encoding # toJSONList ∷ [InstantaneousRewards crypto] → Value # toEncodingList ∷ [InstantaneousRewards crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (PState crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ PState crypto → Value # toEncoding ∷ PState crypto → Encoding # toJSONList ∷ [PState crypto] → Value # toEncodingList ∷ [PState crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (Reward crypto) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ Reward crypto → Value # toEncoding ∷ Reward crypto → Encoding # toJSONList ∷ [Reward crypto] → Value # toEncodingList ∷ [Reward crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (StakeCreds crypto) | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON ∷ StakeCreds crypto → Value # toEncoding ∷ StakeCreds crypto → Encoding # toJSONList ∷ [StakeCreds crypto] → Value # toEncodingList ∷ [StakeCreds crypto] → Encoding # | |
ToJSON (BuiltinCostModelBase CostingFun) | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ BuiltinCostModelBase CostingFun → Value # toEncoding ∷ BuiltinCostModelBase CostingFun → Encoding # toJSONList ∷ [BuiltinCostModelBase CostingFun] → Value # toEncodingList ∷ [BuiltinCostModelBase CostingFun] → Encoding # | |
ToJSON model ⇒ ToJSON (CostingFun model) | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ CostingFun model → Value # toEncoding ∷ CostingFun model → Encoding # toJSONList ∷ [CostingFun model] → Value # toEncodingList ∷ [CostingFun model] → Encoding # | |
ToJSON a ⇒ ToJSON (Interval a) | |
Defined in Plutus.V1.Ledger.Interval Methods toEncoding ∷ Interval a → Encoding # toJSONList ∷ [Interval a] → Value # toEncodingList ∷ [Interval a] → Encoding # | |
ToJSON a ⇒ ToJSON (Extended a) | |
Defined in Plutus.V1.Ledger.Interval Methods toEncoding ∷ Extended a → Encoding # toJSONList ∷ [Extended a] → Value # toEncodingList ∷ [Extended a] → Encoding # | |
ToJSON a ⇒ ToJSON (LowerBound a) | |
Defined in Plutus.V1.Ledger.Interval Methods toJSON ∷ LowerBound a → Value # toEncoding ∷ LowerBound a → Encoding # toJSONList ∷ [LowerBound a] → Value # toEncodingList ∷ [LowerBound a] → Encoding # | |
ToJSON a ⇒ ToJSON (UpperBound a) | |
Defined in Plutus.V1.Ledger.Interval Methods toJSON ∷ UpperBound a → Value # toEncoding ∷ UpperBound a → Encoding # toJSONList ∷ [UpperBound a] → Value # toEncodingList ∷ [UpperBound a] → Encoding # | |
ToJSON d ⇒ ToJSON (LinearTransform d) | |
Defined in Statistics.Distribution.Transform Methods toJSON ∷ LinearTransform d → Value # toEncoding ∷ LinearTransform d → Encoding # toJSONList ∷ [LinearTransform d] → Value # toEncodingList ∷ [LinearTransform d] → Encoding # | |
SerialiseAsBech32 a ⇒ ToJSON (UsingBech32 a) Source # | |
Defined in Cardano.Api.SerialiseUsing Methods toJSON ∷ UsingBech32 a → Value # toEncoding ∷ UsingBech32 a → Encoding # toJSONList ∷ [UsingBech32 a] → Value # toEncodingList ∷ [UsingBech32 a] → Encoding # | |
SerialiseAsRawBytes a ⇒ ToJSON (UsingRawBytesHex a) Source # | |
Defined in Cardano.Api.SerialiseUsing Methods toJSON ∷ UsingRawBytesHex a → Value # toEncoding ∷ UsingRawBytesHex a → Encoding # toJSONList ∷ [UsingRawBytesHex a] → Value # toEncodingList ∷ [UsingRawBytesHex a] → Encoding # | |
ToJSON (SimpleScript lang) Source # | |
Defined in Cardano.Api.Script Methods toJSON ∷ SimpleScript lang → Value # toEncoding ∷ SimpleScript lang → Encoding # toJSONList ∷ [SimpleScript lang] → Value # toEncodingList ∷ [SimpleScript lang] → Encoding # | |
IsCardanoEra era ⇒ ToJSON (AddressInEra era) Source # | |
Defined in Cardano.Api.Address Methods toJSON ∷ AddressInEra era → Value # toEncoding ∷ AddressInEra era → Encoding # toJSONList ∷ [AddressInEra era] → Value # toEncodingList ∷ [AddressInEra era] → Encoding # | |
ToJSON (TxOutValue era) Source # | |
Defined in Cardano.Api.TxBody Methods toJSON ∷ TxOutValue era → Value # toEncoding ∷ TxOutValue era → Encoding # toJSONList ∷ [TxOutValue era] → Value # toEncodingList ∷ [TxOutValue era] → Encoding # | |
ToJSON (MultiAssetSupportedInEra era) Source # | |
Defined in Cardano.Api.TxBody Methods toJSON ∷ MultiAssetSupportedInEra era → Value # toEncoding ∷ MultiAssetSupportedInEra era → Encoding # toJSONList ∷ [MultiAssetSupportedInEra era] → Value # toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding # | |
(IsShelleyBasedEra era, ShelleyLedgerEra era ~ ledgerera, ShelleyBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsDelta ledgerera), ToJSON (TxOut ledgerera), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era)))) ⇒ ToJSON (DebugLedgerState era) Source # | |
Defined in Cardano.Api.Query Methods toJSON ∷ DebugLedgerState era → Value # toEncoding ∷ DebugLedgerState era → Encoding # toJSONList ∷ [DebugLedgerState era] → Value # toEncodingList ∷ [DebugLedgerState era] → Encoding # | |
IsCardanoEra era ⇒ ToJSON (UTxO era) Source # | |
Defined in Cardano.Api.Query Methods toEncoding ∷ UTxO era → Encoding # toJSONList ∷ [UTxO era] → Value # toEncodingList ∷ [UTxO era] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Either a b → Encoding # toJSONList ∷ [Either a b] → Value # toEncodingList ∷ [Either a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ (a, b) → Encoding # toJSONList ∷ [(a, b)] → Value # toEncodingList ∷ [(a, b)] → Encoding # | |
(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Map k v → Encoding # toJSONList ∷ [Map k v] → Value # toEncodingList ∷ [Map k v] → Encoding # | |
ToJSON (Proxy a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Proxy a → Encoding # toJSONList ∷ [Proxy a] → Value # toEncodingList ∷ [Proxy a] → Encoding # | |
HasResolution a ⇒ ToJSON (Fixed a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Fixed a → Encoding # toJSONList ∷ [Fixed a] → Value # toEncodingList ∷ [Fixed a] → Encoding # | |
(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ HashMap k v → Value # toEncoding ∷ HashMap k v → Encoding # toJSONList ∷ [HashMap k v] → Value # toEncodingList ∷ [HashMap k v] → Encoding # | |
ToJSON b ⇒ ToJSON (Annotated b a) | |
Defined in Cardano.Binary.Annotated Methods toJSON ∷ Annotated b a → Value # toEncoding ∷ Annotated b a → Encoding # toJSONList ∷ [Annotated b a] → Value # toEncodingList ∷ [Annotated b a] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Either a b → Encoding # toJSONList ∷ [Either a b] → Value # toEncodingList ∷ [Either a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ These a b → Encoding # toJSONList ∷ [These a b] → Value # toEncodingList ∷ [These a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ These a b → Encoding # toJSONList ∷ [These a b] → Value # toEncodingList ∷ [These a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Pair a b → Encoding # toJSONList ∷ [Pair a b] → Value # toEncodingList ∷ [Pair a b] → Encoding # | |
HashAlgorithm h ⇒ ToJSON (Hash h a) | |
Defined in Cardano.Crypto.Hash.Class Methods toEncoding ∷ Hash h a → Encoding # toJSONList ∷ [Hash h a] → Value # toEncodingList ∷ [Hash h a] → Encoding # | |
Crypto crypto ⇒ ToJSON (KeyHash disc crypto) | |
Defined in Cardano.Ledger.Keys Methods toJSON ∷ KeyHash disc crypto → Value # toEncoding ∷ KeyHash disc crypto → Encoding # toJSONList ∷ [KeyHash disc crypto] → Value # toEncodingList ∷ [KeyHash disc crypto] → Encoding # | |
(Ord k, ToJSONKey k, ToJSON v) ⇒ ToJSON (SplitMap k v) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ SplitMap k v → Value # toEncoding ∷ SplitMap k v → Encoding # toJSONList ∷ [SplitMap k v] → Value # toEncodingList ∷ [SplitMap k v] → Encoding # | |
Crypto crypto ⇒ ToJSON (Credential kr crypto) | |
Defined in Cardano.Ledger.Credential Methods toJSON ∷ Credential kr crypto → Value # toEncoding ∷ Credential kr crypto → Encoding # toJSONList ∷ [Credential kr crypto] → Value # toEncodingList ∷ [Credential kr crypto] → Encoding # | |
Crypto c ⇒ ToJSON (SafeHash c a) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ SafeHash c a → Value # toEncoding ∷ SafeHash c a → Encoding # toJSONList ∷ [SafeHash c a] → Value # toEncodingList ∷ [SafeHash c a] → Encoding # | |
ToJSON (AbstractHash algo a) | |
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 # | |
ToJSON (BoundedRatio b Word64) | |
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 # | |
(ToJSON a, ToJSONKey k) ⇒ ToJSON (MonoidalMap k a) | |
Defined in Data.Map.Monoidal Methods toJSON ∷ MonoidalMap k a → Value # toEncoding ∷ MonoidalMap k a → Encoding # toJSONList ∷ [MonoidalMap k a] → Value # toEncodingList ∷ [MonoidalMap k a] → Encoding # | |
ToJSON (EraInMode era mode) Source # | |
Defined in Cardano.Api.Modes Methods toJSON ∷ EraInMode era mode → Value # toEncoding ∷ EraInMode era mode → Encoding # toJSONList ∷ [EraInMode era mode] → Value # toEncodingList ∷ [EraInMode era mode] → Encoding # | |
Crypto crypto ⇒ ToJSON (Bimap Ptr (Credential 'Staking crypto)) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ Bimap Ptr (Credential 'Staking crypto) → Value # toEncoding ∷ Bimap Ptr (Credential 'Staking crypto) → Encoding # toJSONList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Value # toEncodingList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Encoding # | |
IsCardanoEra era ⇒ ToJSON (TxOut ctx era) Source # | |
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 # | |
(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSON (a, b, c) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ (a, b, c) → Encoding # toJSONList ∷ [(a, b, c)] → Value # toEncodingList ∷ [(a, b, c)] → Encoding # | |
ToJSON a ⇒ ToJSON (Const a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Const a b → Encoding # toJSONList ∷ [Const a b] → Value # toEncodingList ∷ [Const a b] → Encoding # | |
ToJSON b ⇒ ToJSON (Tagged a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Tagged a b → Encoding # toJSONList ∷ [Tagged a b] → Value # toEncodingList ∷ [Tagged a b] → Encoding # | |
(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (These1 f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ These1 f g a → Value # toEncoding ∷ These1 f g a → Encoding # toJSONList ∷ [These1 f g a] → Value # toEncodingList ∷ [These1 f g a] → Encoding # | |
(ToJSON coin, ToJSON ptr, ToJSON pool) ⇒ ToJSON (Trip coin ptr pool) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ Trip coin ptr pool → Value # toEncoding ∷ Trip coin ptr pool → Encoding # toJSONList ∷ [Trip coin ptr pool] → Value # toEncodingList ∷ [Trip coin ptr pool] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSON (a, b, c, d) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d) → Value # toEncoding ∷ (a, b, c, d) → Encoding # toJSONList ∷ [(a, b, c, d)] → Value # toEncodingList ∷ [(a, b, c, d)] → Encoding # | |
(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Product f g a) | |
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 # | |
(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Sum f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Sum f g a → Encoding # toJSONList ∷ [Sum f g a] → Value # toEncodingList ∷ [Sum f g a] → Encoding # | |
Crypto crypto ⇒ ToJSON (VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto)) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto) → Value # toEncoding ∷ VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto) → Encoding # toJSONList ∷ [VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto)] → Value # toEncodingList ∷ [VMap VB VB (KeyHash 'StakePool crypto) (PoolParams crypto)] → Encoding # | |
Crypto crypto ⇒ ToJSON (VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto)) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto) → Value # toEncoding ∷ VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto) → Encoding # toJSONList ∷ [VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto)] → Value # toEncodingList ∷ [VMap VB VB (Credential 'Staking crypto) (KeyHash 'StakePool crypto)] → Encoding # | |
Crypto crypto ⇒ ToJSON (VMap VB VP (Credential 'Staking crypto) (CompactForm Coin)) Source # | |
Defined in Cardano.Api.Orphans Methods toJSON ∷ VMap VB VP (Credential 'Staking crypto) (CompactForm Coin) → Value # toEncoding ∷ VMap VB VP (Credential 'Staking crypto) (CompactForm Coin) → Encoding # toJSONList ∷ [VMap VB VP (Credential 'Staking crypto) (CompactForm Coin)] → Value # toEncodingList ∷ [VMap VB VP (Credential 'Staking crypto) (CompactForm Coin)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) ⇒ ToJSON (a, b, c, d, e) | |
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 # | |
(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Compose f g a) | |
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 # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) ⇒ ToJSON (a, b, c, d, e, f) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f) → Value # toEncoding ∷ (a, b, c, d, e, f) → Encoding # toJSONList ∷ [(a, b, c, d, e, f)] → Value # toEncodingList ∷ [(a, b, c, d, e, f)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) ⇒ ToJSON (a, b, c, d, e, f, g) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g) → Value # toEncoding ∷ (a, b, c, d, e, f, g) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) ⇒ ToJSON (a, b, c, d, e, f, g, h) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) ⇒ ToJSON (a, b, c, d, e, f, g, h, i) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h, i) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h, i) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h, i)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h, i)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h, i, j) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h, i, j) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Value # toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Encoding # toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Value # toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Encoding # | |
(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) | |
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 # |
Instances
deserialiseFromJSON ∷ FromJSON a ⇒ AsType a → ByteString → Either JsonDecodeError a Source #
prettyPrintJSON ∷ ToJSON a ⇒ a → ByteString Source #
Minimal complete definition
Nothing
Instances
class FromJSONKey a #
Instances
FromJSONKey Bool | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Char | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Double | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Float | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int8 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int16 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int32 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int64 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Integer | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Natural | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word8 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word16 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word32 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word64 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Version | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Text | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Text | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey ZonedTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey LocalTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey TimeOfDay | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey UTCTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey DayOfWeek | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Day | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey UUID | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey CurrencySymbol | |
Defined in Plutus.V1.Ledger.Value Methods fromJSONKey ∷ FromJSONKeyFunction CurrencySymbol fromJSONKeyList ∷ FromJSONKeyFunction [CurrencySymbol] | |
FromJSONKey MintingPolicyHash | |
Defined in Plutus.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction MintingPolicyHash fromJSONKeyList ∷ FromJSONKeyFunction [MintingPolicyHash] | |
FromJSONKey DatumHash | |
Defined in Plutus.V1.Ledger.Scripts | |
FromJSONKey RedeemerHash | |
Defined in Plutus.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction RedeemerHash fromJSONKeyList ∷ FromJSONKeyFunction [RedeemerHash] | |
FromJSONKey ScriptHash | |
Defined in Plutus.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction ScriptHash fromJSONKeyList ∷ FromJSONKeyFunction [ScriptHash] | |
FromJSONKey StakeValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction StakeValidatorHash fromJSONKeyList ∷ FromJSONKeyFunction [StakeValidatorHash] | |
FromJSONKey ValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction ValidatorHash fromJSONKeyList ∷ FromJSONKeyFunction [ValidatorHash] | |
FromJSONKey Month | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Quarter | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey QuarterOfYear | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction QuarterOfYear fromJSONKeyList ∷ FromJSONKeyFunction [QuarterOfYear] | |
FromJSONKey CompactRedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.Compact Methods fromJSONKey ∷ FromJSONKeyFunction CompactRedeemVerificationKey fromJSONKeyList ∷ FromJSONKeyFunction [CompactRedeemVerificationKey] | |
FromJSONKey ByteString64 | |
Defined in Data.ByteString.Base64.Type Methods fromJSONKey ∷ FromJSONKeyFunction ByteString64 fromJSONKeyList ∷ FromJSONKeyFunction [ByteString64] | |
FromJSONKey RedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.VerificationKey Methods fromJSONKey ∷ FromJSONKeyFunction RedeemVerificationKey fromJSONKeyList ∷ FromJSONKeyFunction [RedeemVerificationKey] | |
FromJSONKey POSIXTime | |
Defined in Plutus.V1.Ledger.Time | |
FromJSONKey Address | |
Defined in Plutus.V1.Ledger.Address | |
FromJSONKey PubKeyHash | |
Defined in Plutus.V1.Ledger.Crypto Methods fromJSONKey ∷ FromJSONKeyFunction PubKeyHash fromJSONKeyList ∷ FromJSONKeyFunction [PubKeyHash] | |
FromJSONKey TxId | |
Defined in Plutus.V1.Ledger.TxId | |
FromJSONKey TxOutRef | |
Defined in Plutus.V1.Ledger.Tx | |
FromJSONKey LedgerBytes | |
Defined in Plutus.V1.Ledger.Bytes Methods fromJSONKey ∷ FromJSONKeyFunction LedgerBytes fromJSONKeyList ∷ FromJSONKeyFunction [LedgerBytes] | |
FromJSONKey PubKey | |
Defined in Plutus.V1.Ledger.Crypto | |
FromJSONKey PrivateKey | |
Defined in Plutus.V1.Ledger.Crypto Methods fromJSONKey ∷ FromJSONKeyFunction PrivateKey fromJSONKeyList ∷ FromJSONKeyFunction [PrivateKey] | |
FromJSONKey Slot | |
Defined in Plutus.V1.Ledger.Slot | |
FromJSONKey DiffMilliSeconds | |
Defined in Plutus.V1.Ledger.Time Methods fromJSONKey ∷ FromJSONKeyFunction DiffMilliSeconds fromJSONKeyList ∷ FromJSONKeyFunction [DiffMilliSeconds] | |
FromJSONKey RedeemerPtr | |
Defined in Plutus.V1.Ledger.Tx Methods fromJSONKey ∷ FromJSONKeyFunction RedeemerPtr fromJSONKeyList ∷ FromJSONKeyFunction [RedeemerPtr] | |
FromJSONKey AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Script Methods fromJSONKey ∷ FromJSONKeyFunction AnyPlutusScriptVersion fromJSONKeyList ∷ FromJSONKeyFunction [AnyPlutusScriptVersion] | |
FromJSONKey AssetName Source # | |
Defined in Cardano.Api.Value | |
FromJSONKey TxIn Source # | |
Defined in Cardano.Api.TxBody | |
FromJSONKey TxId Source # | |
Defined in Cardano.Api.TxBody | |
(FromJSONKey a, FromJSON a) ⇒ FromJSONKey [a] | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey a ⇒ FromJSONKey (Identity a) | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction (Identity a) fromJSONKeyList ∷ FromJSONKeyFunction [Identity a] | |
Crypto crypto ⇒ FromJSONKey (Addr crypto) | |
Defined in Cardano.Ledger.Address Methods fromJSONKey ∷ FromJSONKeyFunction (Addr crypto) fromJSONKeyList ∷ FromJSONKeyFunction [Addr crypto] | |
Crypto crypto ⇒ FromJSONKey (RewardAcnt crypto) | |
Defined in Cardano.Ledger.Address Methods fromJSONKey ∷ FromJSONKeyFunction (RewardAcnt crypto) fromJSONKeyList ∷ FromJSONKeyFunction [RewardAcnt crypto] | |
FromJSONKey (Hash ScriptData) Source # | |
Defined in Cardano.Api.ScriptData Methods fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData] | |
(SerialiseAsBech32 a, Typeable a) ⇒ FromJSONKey (UsingBech32 a) Source # | |
Defined in Cardano.Api.SerialiseUsing Methods fromJSONKey ∷ FromJSONKeyFunction (UsingBech32 a) fromJSONKeyList ∷ FromJSONKeyFunction [UsingBech32 a] | |
(SerialiseAsRawBytes a, Typeable a) ⇒ FromJSONKey (UsingRawBytesHex a) Source # | |
Defined in Cardano.Api.SerialiseUsing Methods fromJSONKey ∷ FromJSONKeyFunction (UsingRawBytesHex a) fromJSONKeyList ∷ FromJSONKeyFunction [UsingRawBytesHex a] | |
(FromJSON a, FromJSON b) ⇒ FromJSONKey (a, b) | |
Defined in Data.Aeson.Types.FromJSON | |
HashAlgorithm h ⇒ FromJSONKey (Hash h a) | |
Defined in Cardano.Crypto.Hash.Class | |
Crypto crypto ⇒ FromJSONKey (KeyHash disc crypto) | |
Defined in Cardano.Ledger.Keys Methods fromJSONKey ∷ FromJSONKeyFunction (KeyHash disc crypto) fromJSONKeyList ∷ FromJSONKeyFunction [KeyHash disc crypto] | |
Crypto crypto ⇒ FromJSONKey (Credential kr crypto) | |
Defined in Cardano.Ledger.Credential Methods fromJSONKey ∷ FromJSONKeyFunction (Credential kr crypto) fromJSONKeyList ∷ FromJSONKeyFunction [Credential kr crypto] | |
(HashAlgorithm algo, FromJSON (AbstractHash algo a)) ⇒ FromJSONKey (AbstractHash algo a) | |
Defined in Cardano.Crypto.Hashing Methods fromJSONKey ∷ FromJSONKeyFunction (AbstractHash algo a) fromJSONKeyList ∷ FromJSONKeyFunction [AbstractHash algo a] | |
(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSONKey (a, b, c) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSONKey a) ⇒ FromJSONKey (Const a b) | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction (Const a b) fromJSONKeyList ∷ FromJSONKeyFunction [Const a b] | |
FromJSONKey b ⇒ FromJSONKey (Tagged a b) | |
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) | |
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
Eq JsonDecodeError Source # | |
Defined in Cardano.Api.SerialiseJSON Methods | |
Show JsonDecodeError Source # | |
Defined in Cardano.Api.SerialiseJSON | |
Error JsonDecodeError Source # | |
Defined in Cardano.Api.SerialiseJSON Methods |
readFileJSON ∷ FromJSON a ⇒ AsType a → FilePath → IO (Either (FileError JsonDecodeError) a) Source #