matthewcheok / JSONCodable

Hassle-free JSON encoding and decoding in Swift
MIT License
602 stars 66 forks source link

Less boilerplate at JSONEncoder creation #75

Closed reitzig closed 4 years ago

reitzig commented 7 years ago

Since the closure parameter is trailing, we can use the simplified syntax at call sites.

Follow-up question: Why do you use static func create instead of init?

reitzig commented 4 years ago

Abandoning and deleting fork.