j1.put("name", u.getPreferredName().toAbbreviatedString());
JSONObject j2 = new JSONObject();
j2.put("id", u2);
j1.put("name", u.getPreferredName().toAbbreviatedString());
JSONObject j2 = new JSONObject();
j2.put("id", u2);
j2.put("name", User.getById(u2).getPreferredName().toAbbreviatedString());
JSONArray ja = new JSONArray(Arrays.asList(j1, j2));
assertEquals(ja.toString(), new JSONArray(jt).toString());
j2.put("name", User.getById(u2).getPreferredName().toAbbreviatedString());
JSONArray ja = new JSONArray(Arrays.asList(j1, j2));
assertEquals(ja.toString(), new JSONArray(jt).toString());