There are alot of libraries that can do it.
For exanple, you can do it using Google-Gson
MainBean bean = new Gson().fromJson(yourJsonAsString, MainBean.class);
JSON like this will be converted well
{"id" : 1, "sBean" : {"name" : "beanname", "dBean" : []}}