What steps will reproduce the problem?
List<Object> d = new ArrayList<Object>();
d.add(null);
JsonElement je = gson.toJsonTree(d);
What is the expected output? What do you see instead?
create json like "[null]"
actually
throw a null pointer exception
What version of the product are you using? On what operating system?
1.3
Please provide any additional information below.
Original issue reported on code.google.com by yufanyu...@gmail.com on 8 Apr 2009 at 9:24
Original issue reported on code.google.com by
yufanyu...@gmail.com
on 8 Apr 2009 at 9:24