There are many sage that talks about fixing this error on a non static class by adding a constructor. I am wondering what is the fix if we have a static class defined as
@Value(staticConstructor = "of")
public static class TestClass {
@JsonProperty("name")
private String name;
}
I believe adding @JsonProperty here will not be helpful, as i am getting the same error as below
java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of com.abc.ATVTest$TestClass
(although at least one Creator exists): cannot deserialize from Object value (no delegate- or property-based Creator)