infinum / kotlin-jsonapix

JsonApiX is an Android, annotation processor library that was made to transform regular Kotlin classes into their JSON API representations, with the ability to serialize or deserialize them to or from strings.
Apache License 2.0
38 stars 9 forks source link

Get id property in ResourceObject from json string #22

Closed alireza-milani closed 2 years ago

alireza-milani commented 2 years ago

Fixed issue that get id from json api string that was reported in #20

stjepanbanek commented 2 years ago

Looks good, thanks for your effort @Alireza-Milani ! The idea of adding id to the JsonApiModel is something we are working on for the future version, so I will take your input from this PR. Since this feature is being worked on, on a separate branch, I will close this PR, but it will be taken into account when developing the feature