I am sending API call to a service that return a json array like this :
[Object, Object ....]
via my java http request. the resulat are stored in a string:
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
I need to find a way to split this string to by json objects so each new string will contain only one object.
Thanks.