Post

Replies

Boosts

Views

Activity

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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21