Moshi Kotlin’s way better. The opportunities for differences between absent & null is annoying, but that’s more JSON’s fault than Moshi’s. When you decode JSON to a Kotlin object with Moshi, it just calls your constructor with the arguments you give it.
Copy code
`{}` --> same as calling `Person()`
`{"name": "Colton"}` --> same as calling `Person(name = "Colton")`
`{"name": null}` --> same as calling `Person(name = null)`