Blog
2 days ago
Swift: Master of Decoding Messy json
I recently came across an interesting challenge involving JSON decoding in Swift. I wanted to see how our popular online resources would handle a messy, repetitive data structure. The problem arises when you encounter a legacy API or a poorly structured response that uses “flat” numbered properties instead of clean arrays.
Source: HackerNoon →