PMJSON
PMJSON copied to clipboard
Pure Swift JSON encoding/decoding library
`HTTPManagerUploadJSONRequest` currently hardcodes the Content-Type as `application/json`. This is usually the right call, but we really should have a way to override this, such as by making the property mutable...
We should consider having a `JSONCompatible` protocol that is conformed to by things like `String`, `Int`, etc, as a replacement for the family of `JSON.init(_:)` initializers. We could then have...
We should consider adding variants of all the throwing methods that return a `Swift.Result` instead.
We have methods for mapping over arrays in a manner that produces good error messages, but we don't have any way to process all key/value pairs of an object in...
We should detect when a number can't be represented exactly by an `Int64` or a `Double` and fall back to `Decimal`. We can then expose an option that turns off...
A recursive decoder means we can't decode arbitrarily-deep JSON hierarchies. If we switch to storing our decoding state in an array instead of on the stack, we can remove this...