StrictEncodableAliasingStrategy
public class StrictEncodableAliasingStrategy : RedundancyAliasingStrategy
An implementation of RedundancyAliasingStrategy that defines alias-ability by the coded representation of the values. i.e. if two values encode to exactly the same, they will be aliased in the resultant YML document even if the values themselves are of different types
-
Initialize a new StrictEncodableAliasingStrategy
Declaration
Swift
public init()
-
Declaration
Swift
public func alias(for encodable: any Encodable) throws -> RedundancyAliasingOutcome
-
Declaration
Swift
public func releaseAnchorReferences() throws