[JAVA-1721] Add parse and toJson methods to BasicDBObject Created: 26/Mar/15  Updated: 07/Oct/15  Resolved: 07/Apr/15

Status: Closed
Project: Java Driver
Component/s: JSON
Affects Version/s: None
Fix Version/s: 3.1.0

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


 Description   

The newDocument class has convenience methods to parse and produce JSON. Would be nice to have similar methods in BasicDBObject as well.



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

Released in 3.1.0

Comment by Githook User [ 07/Apr/15 ]

Author:

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

Message: Added toJson and parse methods to BasicDBObject

JAVA-1721
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/97837be462d2e0c4fc55a89950b9caad5c1c4de5

Comment by Jeffrey Yemin [ 26/Mar/15 ]

Implementation (sans tests) on j1721 branch of jyemin fork

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