Kotlin Parsing json array with new line separator
I'm using OKHttpClient in a Kotlin app to post a file to an API that gets processed. While the process is running the API is sending back messages to keep the connection alive until the result has been completed. So I'm receiving something like
{Status(status=,transcript=,error=)}
{Status(status=,transcript=,error=)}
{Status(status=,transcript=,error=)}
{Status(status=,transcript="Hello, World",error=)}
Which I believe is being separated by a new line character, not a comma.
I figured out...