GitXplorerGitXplorer
g

CodableKit

public
4 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
8886f03227aaf6f6ae450411bb8e44dc6f755161

Change KVHash coders to handle Decimal the same way JSON coders do. Fix mishandling of ISO8601 date decoding.

ggwynne committed 5 years ago
Unverified
6935574a3f5f3701b1f01564c46fb9b81ad4db0c

Refactor KVHashEncoder/Decoder a bit to funnel boxing and unboxing through a single method which handles both URL and Decimal identically to JSONEncoder/Decoder. (We do not, however, treat Date specially, as that needs to be done elsewhere thanks to bad design decisions.)

ggwynne committed 5 years ago
Unverified
548f27c33d692552575e5e58481663535ba79dc1

Since using protocol extensions to override superclass methods on a subclass that conforms to the protocol doesn't work so well (and why would you expect it to?), tweak ExtendedEncodingContainer.passthrough() to be able to use a single common implementation for all container types.

ggwynne committed 5 years ago
Unverified
1effbae8f5d82d47ed6e1d6a932c59607045933f

Add test exemplifying weird behaviors around Optionals and Codable.

ggwynne committed 5 years ago
Unverified
cd057599c8683e75a4ef8fbb65636b89b4e47303

Allow uninitialized storage in KVHash encoders (encoded as nil). Use NSNull as the nil representation.

ggwynne committed 5 years ago
Unverified
e2a9209950c7694266460433c6be4d187b6a808e

Enable constructing a `nil` value for an `AnyOptionalType`.

ggwynne committed 5 years ago