String toJsonString ( ) { try { return from ( s3obj . getObjectContent ( ) ) ; } catch ( Exception e ) { throw new SdkClientException ( "Error parsing JSON: " + e . getMessage ( ) ) ; } }
Converts and return the underlying S3 object as a json string .