Comment on Swift.DecodingError.dataCorrupted and app crash with "The given data was not valid JSON.", underlyingError: Optional(Error Code=3840 "No value" i also tried let finalData = try! JSONDecoder().decode(ServerMessage.self, from: data) but still not working. UI Frameworks SwiftUI Aug ’21