[CXX-941] When converting to JSON, strings are not escaped Created: 20/Jun/16  Updated: 19/Sep/16  Resolved: 18/Aug/16

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: 3.0.2

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CXX-955 a escape sequence BUG Closed
Related

 Description   

See https://groups.google.com/d/msgid/mongodb-user/be17a535-baa8-4fc0-a3da-c4a92b1e5d33%40googlegroups.com?utm_medium=email&utm_source=footer



 Comments   
Comment by Githook User [ 23/Aug/16 ]

Author:

{u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}

Message: CXX-941 Fix broken examples

Commit 9a83257 removed element conversion to JSON, but some examples were
using that feature. This commmit removes element conversion to JSON from
examples.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/87c377f078927ddd945d15641df818f0c734cb84

Comment by Githook User [ 18/Aug/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-941 Use libbson for converting to JSON
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/9a8325751ca45d7a79b00613b57eec4923bc5a02

Comment by Andrew Morrow (Inactive) [ 30/Jul/16 ]

https://github.com/mongodb/mongo-cxx-driver/pull/512

Comment by David Golden [ 26/Jul/16 ]

For reference, an example fix was given in duplicate ticket CXX-977.

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