1 Reply Latest reply on Apr 20, 2007 3:06 PM by Sergey Smirnov

    Error in conversion of multi-dimensional arrays

    Arne Simonsen Newbie


      when i try to pass a multi-dimensional array to javascript with jsFunction (data attribute) i get this error

      error[11:02:04,403]: Error on parsing JSON data missing ] after element list {'listener':[['test1','test1.svg'],['test2','test2.svg'],'selectedId':'test1'}

      original declaration
      String[][] test = {{"test1", "test1.svg"}, {"test2", "test2.svg"}};

      im using 1.1.0, so my question is if its fixed in 1.1.1 or 1.2.0 (cant find it neither in JIRA nor in release notes, but its quite a minor bug i guess, so it might be fixed without mentioning)