FieldCoders

public enum FieldCoders

Namespace for Built-in Field Coders

FieldCoders

Json

  • A FieldCoderType that implements JSON encoding and decoding of Codable values.

    Important

    Due to restrictions of JSONEncoder, the value will be contained in single-item array before encoding.
    See more

    Declaration

    Swift

    public struct Json<V> : FieldCoderType where V : Decodable, V : Encodable

NSCoding

Plist

  • A FieldCoderType that implements Binary-Plist encoding and decoding of Codable values.

    Important

    Due to restrictions of JSONEncoder, the value will be contained in single-item array before encoding.
    See more

    Declaration

    Swift

    public struct Plist<V> : FieldCoderType where V : Decodable, V : Encodable