专用数据格式
在本页
概述
The Kotlin Sync driver supports thekotlinx.serialization
library for serializing and deserializing Kotlin objects. You can use this library to convert between MongoDB documents and different data formats in your application. To learn more about serialization, see theKotlin Serialization guide.
As an alternative to using Kotlin serialization, you can define and implement custom Codec
types to support encoding and decoding of your Kotlin objects. To learn more, see the Codecs guide.
You can use several types of specialized document data formats in your application. To learn how to work with these data formats, see the following sections
Learn how to work with the BSON data format in the BSON guide.
Learn how to store and interact with time series data in the Time Series Data guide.