Contents

finestructure/valuecodable

ValueCodable is a swift library to decode data of unknown structure in a type safe way.

Supported types

Value currently supports the following types:

public enum Value: Equatable {
    case bool(Bool)
    case int(Int)
    case string(String)
    case double(Double)
    case dictionary([Key: Value])
    case array([Value])
    case null
}

When decoding, ValueCodable will attempt to decode into the most suitable type.

Package Metadata

Repository: finestructure/valuecodable

Default branch: master

README: README.md