Allow serialization of anonymous and local classes · Issue #298 · google/gson

What steps will reproduce the problem? Gson gson = new Gson(); String json = gson.toJson(new Object() { String url = "http://localhost:10080/live/list"; String[] names = new String[] {"dsc0001","ds...