This document discusses JSON mapping in Play Framework. It provides examples of building JSON objects from case classes, reading JSON into case classes, and writing case classes to JSON. It also discusses Play's JSON mapper and using JSON paths to access fields.
2. Mandatory verbose java example
Jonathan
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({ "name", "age" })
public class Actor {
@JsonProperty("nombre") private String name;
@JsonProperty("age") private Integer age;
}