JSONDecoder is now a part of Foundation on iOS 11 and there is no way to use JSONDecoder anymore because there are now two of them. I have a code that extends both JSONDecoder and JSONEncoder and both throw an error on Xcode 9 beta:
'JSONDecoder' is ambiguous for type lookup in this context
It seems like JSONCodable will have to prefix its classes.