src/main/java/com/rockagen/commons/util/JsonUtil.java
public static <T> T toBean(byte[] jsonBytes, Class<T> clazz) {
		if (clazz == null || jsonBytes == null)
			return null;
		return toBean(new MyJsonParser(jsonBytes), clazz);

	}
public static <T> T toBean(byte[] jsonBytes, Class<T> clazz) {
		if (clazz == null || jsonBytes == null)
			return null;
		return toBean(new MyJsonParser(jsonBytes), clazz);

	}
Json string to java bean <br>
<p>
e.g:
</p>
<pre>
{"id" : idValue, "name" : nameValue, "aBean" : {"aBeanId" : aBeanIdValue, ...}}
</pre>
<p>
List,Array,Map... see {@link #toBean(byte[], TypeReference)}
</p>

@param jsonBytes josn bytes
@param clazz class
@param <T> t
@return bean