Deserialize json array stream one item at a time
问题 I serialize an array of large objects to a json http response stream. Now I want to deserialize these objects from the stream one at a time. Are there any c# libraries that will let me do this? I've looked at json.net but it seems I'd have to deserialize the complete array of objects at once. [{large json object},{large json object}.....] Clarification: I want to read one json object from the stream at a time and deserialize it. 回答1: In order to read the JSON incrementally, you'll need to use