is it a good idea to use Room entities for other t...
# android
j
is it a good idea to use Room entities for other things like json parsing and parcelable etc ?
b
joachim.reiss.: Really depends on your use case. We are using Room as our cache layer (and nothing else) so it made sense to use the same entities for JSON deserialization and Room (since if the API changes the database tables will need to change to stay 1:1). If you are doing something more advanced take a long look at how you are setting things up since it’s easier to change the design before its fully implemented 👍