I have a file with the below data in it stored in s3.
{....object1....}
{....object2....}
{....object3....}
if I use:
ResponseBytes<GetObjectResponse> objectBytes = s3Client.getObjectAsBytes(objectRequest);
it reads only 1st object.
How can loop through the file and read the contents as a List of objects