discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Multidimensional array support is now broken #272

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Run the below object through:

String[][] items = new String[][]{
            {"3m Co", "71.72", "0.02", "0.03", "4/2 12:00am", "Manufacturing"},
            {"Alcoa Inc", "29.01", "0.42", "1.47", "4/1 12:00am", "Manufacturing"}
        };

What is the expected output? What do you see instead?
[["3m Co","71.72","0.02","0.03","4/2 12:00am","Manufacturing"],["Alcoa 
Inc","29.01","0.42","1.47","4/1 12:00am","Manufacturing"]]

Instead get an empty object on client side... {}

What version of the product are you using? On what operating system?
Used to work in 1.3, now using 1.6 and it's broken (fixed the door broke the 
window :) ). On Linux (not sure makes a difference).

Please provide any additional information below.
none

Original issue reported on code.google.com by VictorLe...@gmail.com on 15 Dec 2010 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by inder123 on 24 Jan 2011 at 10:41