steamclock / netable

A Swift library for encapsulating network APIs using Codable in a type-oriented way.
MIT License
99 stars 3 forks source link

Add support for decoding non-Swifty keys #48

Closed brendanlensink closed 4 years ago

brendanlensink commented 4 years ago

Adds a new optional parameter to Request called jsonKeyDecodingStrategy: JSONDecoder.KeyDecodingStrategy.

Also cleans up some test cases, and moves the different log test cases