bluelinelabs / LoganSquare

Screaming fast JSON parsing and serialization library for Android.
Apache License 2.0
3.21k stars 306 forks source link

Package model does not exist #198

Closed eduardhasanaj closed 7 years ago

eduardhasanaj commented 7 years ago

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;
}
eduardhasanaj commented 7 years ago

Please if anyone encountered it before help me because I have a deadline for this school project