JsonUtils { public static <T> T unwrapRootToObject(final Class<T> clazz, final String jsonString) throws OpenstackJsonSerializationException { return unwrapRootToObject(clazz, jsonString, true); } private  JsonUtils(); static T mapJsonToObject(final Class<T> clazz, final String jsonString); static T mapJsonToObject(final Class<T> clazz, final String jsonString, final boolean translateCamelCase); static T unwrapRootToObject(final Class<T> clazz, final String jsonString); static T unwrapRootToObject(final Class<T> clazz, final String jsonString,
			final boolean translateCamelCase); static List<T> unwrapRootToList(final Class<T> clazz, final String jsonString); static String toJson(final Object javabean); static String toJson(final Object javabean, final boolean translateCamelCase);  }
@Test public void testUnwrapRootToObject() throws Exception { Network network = JsonUtils.unwrapRootToObject(Network.class, "{\"network\":{\"name\":\"test\"}}"); Assert.assertNotNull(network); Assert.assertEquals("test", network.getName()); }