Package com.innohotsource.hotjson.Json
Class FileToObject
- java.lang.Object
-
- com.innohotsource.hotjson.Json.FileToObject
-
public class FileToObject extends java.lang.Object
file written by json format convert to object
- Version:
- : 1.1
- Author:
- : lee cheol
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getFile(java.lang.Class<T> clazz)
Create an instance and initialize it to the value of json value
-
-
-
Method Detail
-
getFile
public <T> T getFile(java.lang.Class<T> clazz) throws java.lang.IllegalAccessException
Create an instance and initialize it to the value of json value- Type Parameters:
T
- Generic Type- Parameters:
clazz
- clazz that wants to receive input class- Returns:
- instance full of json data
- Throws:
java.lang.IllegalAccessException
- unable to create instance.
-
-