Может кто-нибудь помочь мне разобраться, что нужно добавить?
JSON :
{"value":{"keyword":"better","correct":"","page":0,"size":10,"cost":51,"total":1107}}
Класс объекта
@JsonAutoDetect
@JsonSerialize(include = Inclusion.NON_NULL)
@JsonRootName(value = "value")
public class Response {
private int page;
private int size;
private int total;
private int cost;
private int result;
private String keyword;
private String correct;
Все равно получается "Servlet.service() for servlet appServlet threw exception
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "value" (), not marked as ignorable"