Question: gson how to read json file?
Answer: public static void main(String[] args) throws FileNotFoundException {
BufferedReader bufferedReader = new BufferedReader(new FileReader(path));
Gson gson = new Gson();
Object json = gson. fromJson(bufferedReader, Object. class);
System. out. println(json. getClass());
System. out. println(json. toString());