xxxxxxxxxx
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
And in your model class, just use the annotation JsonProperty to config the value you want:
public class Company {
@JsonProperty ("y-code")
private String companyYCode;
@JsonProperty ("company_name")
private String companyName;
}