Hi I am trying to consume some data from a api using c# and .Net 8.
I am receiving the data in JSON format however the JSON format does not seem to be correct.
Below is the Sample format of Json format
{ "data": {"object1": {"id": "abcde","name": "xyz","labels": {"app1": "app1", "app2": "app2"},"cid": "1234567890","cn": "cnvalue"}}}
{ "data": {"object1": {"id": "abcde1","name": "xyz1","labels": {"app1": "app11","app2": "app21"},"cid": "1234567890","cn": "cnvalue"}}}
While trying to deserializing the JSON object I am getting the below error System.Text.Json.JsonException: ''{' is invalid after a single JSON value. Expected end of data. Path: $ | LineNumber: 1 | BytePositionInLine: 0.'
Any help will be appreciated. Please do let us know if you need any additional information.
json-seqwhich doesn't use newlines to separate records