3 ms·
Serde offers more out of the box functionality with its annotations, but it's also bit uglier than Swift's Codable when you do need to implement it yourself. I
by wild_preference 8y ago
Serde offers more out of the box functionality with its annotations, but it's also bit uglier than Swift's Codable when you do need to implement it yourself.
If it wasn't for a blog post that gave some simple examples, I couldn't even figure it out myself.
Possibly not fair to compare them this way, though. No clue what the trade-offs are.
- conradev 8y agoThat's very fair criticism. Implementing custom serde serializers is painful, but thankfully I only have to do it in rare circumstances.