In an UWP app I want to read a continuous data flow from a serial port. The inputstream contains continuous json objects like this: 

```
{
  "sensor": "gps",
  "time": 1351824120,
  "data": [
    48.75608,
    2.302038
  ]
}

{
  "sensor": "gps",
  "time": 1351824120,
  "data": [
    48.75608,
    2.302038
  ]
}

{
  "sensor": "gps",
  "time": 1351824120,
  "data": [
    48.75608,
    2.302038
  ]
} 

...

```

For listening on the port, I'm using 

`var dataReaderObject = new DataReader(SerialPort.InputStream);`.

I'm using also a task to wait for data on the serialPort.InputStream. 

```
Task<UInt32> loadAsyncTask = dataReaderObject.LoadAsync(ReadBufferLength);

```

But the problem is, I don't know the length of one JSON object. How can read or buffer the stream, so that I can desirialize the JSON stream? Something like `load data from "{" to "}"` .

Is there any best practice to do that? 

**EDIT:**

I can also influence the data sending side. Maybe it is better to send the serali data in a better format? Do you have any suggestions to improve the sent data?