Enumeration
XMLDecoder.NodeDecodingStrategy
public enum NodeDecodingStrategy
Set of strategies to use for encoding of nodes.
Relationships
Member Of
XMLDecoder
XMLDecoder
facilitates the decoding of XML into semanticDecodable
types.
Enumeration Cases
deferredToDecoder
case deferredToDecoder
Defer to Encoder
for choosing an encoding. This is the default strategy.
custom
case custom((Decodable.Type, Decoder) -> ((CodingKey) -> NodeDecoding))
Return a closure computing the desired node encoding for the value by its coding key.