Order of JSON objects using Jackson’s ObjectMapper

@JsonPropertyOrder({ "id", "label", "target", "source", "attributes" })
public class Relation { ... }

Leave a Comment