java - How to convert List<Map.Entry<String, String>> to Javascript array -


i have list in java:

list<map.entry<string, string>> list = new arraylist<map.entry<string, string>>(map.entryset()); 

my question how convert above java list javascript array this:

var prevyear = [["2011-08-01",398], ["2011-08-02",255.25], ["2011-08-03",263.9], ["2011-08-04",154.24]]; 

thanks!


Comments

Popular posts from this blog

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

Java Entity Manager - JSON reader was expecting a value but found 'db' -