If the json returned is only an array ie ["asdf", "asdf", "asdf2", "basdf"] then in java when you parse it with json-simple it will be a JSONArray object
If the json returned is a json object {"key":"value", "keyArray":["asdf","asdf"]} it will parse to a JSONObject. If you get the keyArray value it will parse as a JSONArray