swift-extras / swift-extras-json

JSON encoding and decoding without the use of Foundation in pure Swift.
Apache License 2.0
348 stars 15 forks source link

Shouldn't PSJSONDecoder.userInfo be public? #50

Closed ktoso closed 4 years ago

ktoso commented 4 years ago

This seems like it would want to be public:

public struct PSJSONDecoder {
    @usableFromInline var userInfo: [CodingUserInfoKey: Any] = [:]

since I need to set some context into user info before i kick off decoding