TypeDecoder icon indicating copy to clipboard operation
TypeDecoder copied to clipboard

TypeDecoder handling of [String: Any] for Swagger

Open djones6 opened this issue 7 years ago • 0 comments

A user may wish to assign an [String: Any] type on a struct for the purposes of passing through opaque JSON whose structure is unknown. We currently do not support type decoding of [String: Any].

When it comes to encoding/decoding such structures, this may be relevant: https://medium.com/@scotthoyt/swift-4-bridging-codable-json-and-string-any-1b76b9df2b2e

djones6 avatar Nov 15 '18 16:11 djones6