[JAVA-1878] Override toJson in RawBsonDocument Created: 30/Jun/15  Updated: 07/Oct/15  Resolved: 24/Aug/15

Status: Closed
Project: Java Driver
Component/s: BSON, JSON
Affects Version/s: 3.0.2
Fix Version/s: 3.1.0

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


 Description   

By overriding it can use the RawBsonDocumentCodec instead of BsonDocumentCodec, which will be more efficient.



 Comments   
Comment by Jeffrey Yemin [ 07/Oct/15 ]

Released in 3.1.0

Comment by Githook User [ 24/Aug/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: To avoid the inefficiency of decoding and re-encoding, RawBsonDocument overrides toJson methods in order to use the RawBsonDocumentCodec

JAVA-1878
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c9490804fce074fcf919ca8b976111c35b1b4f6a

Generated at Thu Feb 08 08:55:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.