Maha Sakka wrote:only these attributes of type of "LocalDateTime"
Maha Sakka wrote:The following pictures take it when i debug the project
Junilu Lacar wrote: Are you sure the function isn't getting called with user == null?
Dave Tolls wrote:And what is the value of "user" being passed into that call to toJson?
Junilu Lacar wrote:It seems you're not clear on how to define Kotlin data classes (<-- click on that link to see search results). You might want to review some of the links that search produces.
Maha Sakka wrote:
when I get the user of type of UserData from the Ws, all the fileds even though of type of localdatetime are filled with value (all from ws)
But when i use Gson all the attributes of date will be empty .