Created
June 27, 2016 11:47
-
-
Save kkashyap1707/c7a1f7c7b415236df988f75db6193ba4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static Object GSON(String Input,Class modelClass) | |
{ | |
Gson gson = new GsonBuilder().setPrettyPrinting().create(); | |
Object object = gson.fromJson(Input, modelClass); | |
return object; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment