[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 |