Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do {
- let decodedPerson = try JSONDecoder().decode(Judges.self, from: Data(msg[1].utf8))
- print("Person -- \(decodedPerson.nomersud) was decode and their age is: \(decodedPerson.nomersud)")
- } catch {
- print("Error: \(error.localizedDescription)")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement