Hi, after using android default JSON and failed at implementing t due to some nesting problem I chose LoganSquare. Unfortunately, it throws an error, Package model does not exist.
In android studio I see also another message : "Files under build folder are generated and should not be edited"
Below classes are both inside Model package
@JsonObject
public class Message {
@JsonField
public String body;
@JsonField
public String sender;
@JsonField
public String receiver;
@JsonField
public String dateTime;
}
@JsonObject
public class MessageStorage {
@JsonField
public String name;
@JsonField
public List<Message> messages;
}
Hi, after using android default JSON and failed at implementing t due to some nesting problem I chose LoganSquare. Unfortunately, it throws an error, Package model does not exist. In android studio I see also another message : "Files under build folder are generated and should not be edited" Below classes are both inside Model package