Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class TestData extends FileReader {
private String usersFile;
public List<User> getUsers() {
Gson gson = new Gson();
return Arrays.asList(gson.fromJson(getFileAsString(usersFile), User[].class));

This comment has been minimized.

Copy link
Owner Author

LenarBad commented Dec 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.