(mongodb >=1.2.0)
MongoDB\BSON\ObjectID::jsonSerialize — Returns a representation that can be converted to JSON
此函数没有参数。
Returns data which can be serialized by json_encode() to produce the » extended JSON representation of the MongoDB\BSON\ObjectID.