Protocol
ContentContainer
protocol ContentContainer
Topics
Instance Properties
contentTypeThe type of data stored in the container.
Instance Methods
decode(_:)Use the default decoder for the container’scontentTypeto read a value of typeCfrom the container.decode(_:as:)Use the default configured decoder for thecontentTypeparameter to read a value of typeDfrom the container.decode(_:using:)Use the providedContentDecoderto read a value of typeDfrom the container.encode(_:)Serialize aContentobject to the container as its default content type.encode(_:as:)Serialize aContentobject to the container, specifying an explicit content type.encode(_:using:)Use the providedContentEncoderto write a value of typeEto the container.get(_:at:)Fetch a singleDecodablevalue at the supplied keypath in this container.
Subscripts
subscript(_:)Legacy alias forsubscript(_:at:).subscript(_:at:)Fetch a singleDecodablevalue at the supplied keypath in the container.