7 、xml to json
< a class="array">
< e type="function" params="i,j">
return matrix[i][j];
< /e>
< /a>
< a class="array">
< e type="function" params="i,j">
return matrix[i][j];
< /e>
< /a>
JSONArray json = (JSONArray) XMLSerializer.read( xml );
System.out.println( json );
// prints [function(i,j){ return matrix[i][j]; }]