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

	}
public static <T> T toBean(File jsonFile, Class<T> clazz) {
		if (clazz == null || jsonFile == null)
			return null;
		return toBean(new MyJsonParser(jsonFile), 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(File, TypeReference)}
</p>

@param jsonFile json file
@param clazz class
@param <T> t
@return bean