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

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

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -