I was trying to use the useragentstring.com api to query and map browsers to my custom object and I did not want to name my fields with agent_type, agent_name and agent_version.
Simple solution that I found on this page was to annotate my properties in the class with:
@JsonProperty(“agent_type”)
@JsonProperty(“agent_name”)
@JsonProperty(“agent_version”)
The mapping is happening automatically.
Very simple.