Skip to content

AnyEncodable

Josh Wright edited this page Jan 14, 2021 · 3 revisions

AnyEncodable

An erased Encodable.

public struct AnyEncodable: Encodable

Inheritance

Encodable

Initializers

init(_:)

Initialize with a generic Encodable instance.

public init<T: Encodable>(_ wrapped: T)

Parameters

  • wrapped: An instance of Encodable.

Methods

encode(to:)

public func encode(to encoder: Encoder) throws
Alchemy
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Fusion
Types
Protocols
Papyrus
Types
Protocols
Clone this wiki locally