java - @JsonProperty Json object inside Json object -
how use @jsonproperty() json object within json object? example json want is: "location" : { "needs_recoding" : false, "longitude" : "-94.35281245682333", "latitude" : "35.35363522126198", "human_address" : "{\"address\":\"7301 rogers ave\",\"city\":\"fort smith\",\"state\":\"ar\",\"zip\":\"\"}" } a helpful reference using @jsonproperty annotations in constructor provided staxman . simple example shown below: public class address { private string address; private string city; private string state; private string zip; // constructors, getters/setters } public class location { private boolean needsrecoding; private double longitude; private double latitude; private address humanaddress; public location() { super(); } @jsoncreator public loca...