[JAVA-4873] Create bson-kotlinx Created: 08/Feb/23  Updated: 28/Oct/23  Resolved: 30/Mar/23

Status: Closed
Project: Java Driver
Component/s: Kotlin
Affects Version/s: None
Fix Version/s: 4.10.0

Type: Improvement Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve Kotlin User Experience
Quarter: FY24Q1
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Port kotlinx-serialization support for BSON



 Comments   
Comment by Githook User [ 30/Mar/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Bson-kotlinx

Library adds the initial Kotlinx serialization support via the
codec registry. Not intended to be used outside the code registry.
Bson annotations are not supported by the kotlinx serialization
framework. Kotlinx annotations should be used instead, where appropriate.

Supports Kotlin data types, ObjectId and BsonValues.
Alternative types should provide their own serializers.
See the kotlinx serialization documentation for more
information.

JAVA-4873
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d3c21194f72390df62cb53da2c674ec6279fa29e

Comment by Githook User [ 22/Mar/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Updated bson-kotlin in prep for bson-kotlinx

Expanded the test cases
Simplified the DataClassCodecProvider

JAVA-4872 JAVA-4873
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/814fd15e595490e05f9915dcfe146c3a7acdd94c

Generated at Thu Feb 08 09:03:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.