A better approach to decode same JSON with different structure in Swift?
I was dealing with a request that need to modify our app config structure, the modification was moving the EncodingOption
parameter to the EditingOptions
class from OutputOptions
struct.