My JsonArray looks like this :
JSONArray itemsJsonArray = new JSONArray();
JSONObject jsobj = new JSONObject();
jsobj.put("a", new JSONString("hi"));
jsobj.put("b", new JSONString("hgjjh"));
jsobj.put("c", new JSONNumber(149077));
itemsJsonArray.set(0, jsobj);
I need the equivalent data as a JsArray (package :com.google.gwt.core.client) since the api that I need to use only accepts the JsArray.
I need to convert to specific JsArray and not any JsonObject and can't take the overhead of serializing my data.
What will be the structure of the equivalent JsArray to the above data structured as key : value ?