Code example for Gson

Methods: fromJson

0
	 * @param json 
	 * @param type 
	 * @return instance of type 
	 */ 
	public static final <V> V fromJson(String json, Class<V> type) {
		return GSON.fromJson(json, type);
	} 
 
	/** 
	 * Convert string to given type 
	 * 
	 * @param json 
	 * @param type 
	 * @return instance of type 
	 */ 
	public static final <V> V fromJson(String json, Type type) {
		return GSON.fromJson(json, type);
	} 
 
	/** 
Connect your IDE to all the code out there  Get Codota for Java