Not exactly, I know what type to expect, I just don't know how it will be formatted when I get it. So in principle you are right, I don't know if it will be a string or bool but I know to expect a bool. So I want to tell the decoder that "true" is also a bool value without having to declare a custom decoder.
Topic:
Programming Languages
SubTopic:
Swift
Tags: