Generated code with error:
`
import ru.rhonda.dvr.cloudclient.camera.rest.jsonPojo.Event; -- THIS IS PACKAGE!
@SuppressWarnings("unsafe,unchecked")
public final class Data$$JsonObjectMapper extends JsonMapper {
private static final JsonMapper RU_XXXXXX_XX_XXX_XXX_REST_JSONPOJO_EVENT_DEVICE__JSONOBJECTMAPPER = LoganSquare.mapperFor(Event.Device.class);
...
}
`
Its generated when used model like this :
`
@JsonObject
public class Event
{
@JsonField(name = "type")
public String type;
@JsonField(name = "timestamp")
public Long timestamp;
@JsonField(name = "data")
public Data data;
...
}
@JsonObject
public class Data
{
@JsonField(name = "id")
public String id;
@JsonField(name = "timestamp")
public Long timestamp;
...
@JsonField(name = "device")
public Device device;
...
}
`
Generated code with error: ` import ru.rhonda.dvr.cloudclient.camera.rest.jsonPojo.Event; -- THIS IS PACKAGE!
@SuppressWarnings("unsafe,unchecked") public final class Data$$JsonObjectMapper extends JsonMapper { private static final JsonMapper RU_XXXXXX_XX_XXX_XXX_REST_JSONPOJO_EVENT_DEVICE__JSONOBJECTMAPPER = LoganSquare.mapperFor(Event.Device.class);
... } `
Its generated when used model like this :
` @JsonObject public class Event {
... }
@JsonObject public class Data {
... @JsonField(name = "device") public Device device; ... } `