I am sending serialized objects via NetWorkStream to another computer, on the receiving side I would like to deserialize these objects.
I will send many sequential objects when I receive data through NetworkStream, how do I know when the first JSON document ended so that JSON.NET will parse the document from the received string?
Or even better, is there a way for Json.NET to read the resulting JSON document directly from NetworkStream and Deserialize / Parse?
Let me know the relationship
Albert
source
share