[CSHARP-1224] All our Binary and JSON readers and writers should be able to operate on multiple documents Created: 26/Mar/15  Updated: 02/Apr/15  Resolved: 27/Mar/15

Status: Closed
Project: C# Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 2.0

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Ensure that all 4 of the following readers and writers can be easily and correctly used to read or write multiple documents:

1. BsonBinaryReader
2. BsonBinaryWriter
3. JsonReader
4. JsonWriter

The goal is that instead of having to instantiate a new instance of the reader or writer for each document, a single instance can be used to handle multiple documents.



 Comments   
Comment by Githook User [ 27/Mar/15 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1224: Add BaseTextWriter property to JsonWriter.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0c4b5e2f44b41ad6c797ab31174d7d72341f0d6f

Comment by Githook User [ 27/Mar/15 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1224: Modified the readers and writers as necessary so that they can be used to read or write multiple documents.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/c6283a639b6a64d561c93966354b361aa232cdd6

Generated at Wed Feb 07 21:39:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.