Skip to content

Releases: the-yuyut/SuperCodable

Can Codable with optional by @OptionalKeyed

12 Apr 05:39

Choose a tag to compare

- @Keyed var id: String?
+@OptionalKeyed var id: String?

Please note Keyed var _: TYPE? will make a runtime error to tell you the disability on optional.

@Keyed can get key during run time

11 Apr 12:00

Choose a tag to compare

struct JSON: SuperCodable {
-    @Keyed("id") var id: String
+    @Keyed var id: String
}

First release

10 Apr 11:02

Choose a tag to compare

1.0.0

add test setting