swifter
swifter copied to clipboard
Why is JSON encoding so primitive?
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.
Well, I see now