What steps will reproduce the problem?
1.create something like String s = '{a:[1,2,"b"],c:[3,"5",6]}';
2. gson.fromJson(s, Map.class);
3. you get exception
What is the expected output? What do you see instead?
I expected Map (association) similar I have in JS. However I am forced to
create a new Java type, like:
static class MyType {
String[] a, c;}
What version of the product are you using? On what operating system?
version 1.3 on Ubuntu
Please provide any additional information below.
BTW if I have mixed array, why can't I deserialize in Object[] with
automatic fills of elements as Sting, Integer, Long, OtherObject
Original issue reported on code.google.com by jAddress...@gmail.com on 8 Apr 2009 at 1:11
Original issue reported on code.google.com by
jAddress...@gmail.com
on 8 Apr 2009 at 1:11