I am building a wp7 application.I want to parse JSON string coming from a continuous tcp stream.I want a json parser which can parse from a stream.Is there any SAX JSON parser to parse from a stream.I am looking for a tcp stream parser.that is continuous stream is coming from my server.And i want to parse the stream and generate JSON objects on the fly.
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.
You can use JSON.NET library, you can get it here: http://json.codeplex.com/ I state from codeplex these features of JSON.NET
and here is a little example:
EDIT Here is a little example:
you can use TcpClient to connect. Check this question Subscribing over TCP, deserializing each recieved JSON line |
|||||||||||
|