[JAVA-843] Binary field $type is represented in JSON as a number instead of a two-byte hex string Created: 04/Jun/13  Updated: 31/Mar/15  Resolved: 12/Jul/13

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Bug Priority: Major - P3
Reporter: Alex Foygel Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Minor Change

 Description   

When converting a binary field to JSON (using the 'strict' converter), the driver represents the $type as a number instead of a two-byte hex string.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Jeffrey Yemin [ 12/Jul/13 ]

Resolving as this is fixed in 3.0.x. We can re-open if there is enough interest in backporting this.

Comment by Jeffrey Yemin [ 12/Jul/13 ]

Fixed in 3.0.x branch: https://github.com/mongodb/mongo-java-driver/commit/2a88926182d5120f73c50090dd48cc71b2ca46f8.

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