CodingUserInfoKey

public extension CodingUserInfoKey

Key to pass to populate a userInfo dictionary, which is passed to the JSONDecoder or JSONEncoder to enable processing foreign members.

  • Indicates if coding of foreign members is enabled.

    Boolean flag to enable coding. Default (or missing) value is to ignore foreign members.

    Declaration

    Swift

    static let includesForeignMembers: CodingUserInfoKey