mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Move more behavior into the types: Adapter and Property now have many instance methods and are now mutable value classes rather than immutable data classes. This changes how some of the bookkeeping code works. Previously there were some pretty tricky types: maps with pairs as keys, indexed and non-indexed lists of properties. With this change more of the logic operates directly on the properties.