public interface FileToObjectFromClass
The interface
FileToObjectFromClass provides a single method for transform a given file
to a java object with giving explicitly the class type of the return type-
Method Summary
-
Method Details
-
toObject
Transforms the given jsonFileobject to an object of the given class type- Type Parameters:
T- the generic type of the argument object class type- Parameters:
file- the file that contains the objectclazz- the class from the class type of the object that will be returned- Returns:
- the java object
-