swifter icon indicating copy to clipboard operation
swifter copied to clipboard

Why is JSON encoding so primitive?

Open isaac-weisberg opened this issue 7 years ago • 1 comments

This issue refers to

https://github.com/httpswift/swifter/blob/b366f5ed088d9d0d216a9ce18ec726f7912c30f3/Sources/HttpResponse.swift#L35-L48

Did anyone ever attempt to rewrite it with the Swift.Encodable? Evidently, there was no JSON decoding tool back then on Linux/SPM, but this is not the case since 2017.

isaac-weisberg avatar Jul 24 '18 06:07 isaac-weisberg

Well, I see now

isaac-weisberg avatar Jul 24 '18 06:07 isaac-weisberg