public static <T> Collection<T> toObjectCollection(final String jsonString,
		@SuppressWarnings("rawtypes") Class<? extends Collection> collectionClass,
		Class<T> elementClass) throws JsonParseException, JsonMappingException, IOException
	{
		final ObjectMapper mapper = ObjectMapperFactory.getObjectMapper(true);
		return mapper.readValue(jsonString,
			mapper.getTypeFactory().constructCollectionType(collectionClass, elementClass));
	}
public static <T> Collection<T> toObjectCollection(final String jsonString,
		@SuppressWarnings("rawtypes") Class<? extends Collection> collectionClass,
		Class<T> elementClass) throws JsonParseException, JsonMappingException, IOException
	{
		final ObjectMapper mapper = ObjectMapperFactory.getObjectMapper(true);
		return mapper.readValue(jsonString,
			mapper.getTypeFactory().constructCollectionType(collectionClass, elementClass));
	}
public static < T > Collection < T > toObjectCollection ( final String jsonString , @ SuppressWarnings ( "rawtypes" ) Class < ? extends Collection > collectionClass , Class < T > elementClass ) throws JsonParseException , JsonMappingException , IOException { final ObjectMapper mapper = ObjectMapperFactory . getObjectMapper ( true ) ; return mapper . readValue ( jsonString , mapper . getTypeFactory ( ) . constructCollectionType ( collectionClass , elementClass ) ) ; }
Transforms the given json string into a java object {@link Collection}

@param <T>
the generic type of the return type
@param jsonString
the json string
@param collectionClass
the collection class
@param elementClass
the element class
@return the list with the java objects.
@throws JsonParseException
If an error occurs when parsing the string into Object
@throws JsonMappingException
the If an error occurs when mapping the string into Object
@throws IOException
Signals that an I/O exception has occurred
Transforms the given json string into a java object { @link Collection }