json - Transforming JSONArray string to Java POJO -


i trying fiddle objectmapper's properties achieve following, did dot find way till now

context : we've following classes  class x {      : }  class c {     private string c1;     private string c2;     private list<x> c3; }  input : string represents jsonarray. ex : "[ {..}, {..} ]" output : java class 'c' c1, c2 set null , c3 set input 

i not want transform input json string first , create instance of c myself , set c3 manually. can deserialize input json string described above


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -