跳到主要内容

bson_new_from_json_str

将json字符串转换为bson数据

声明

int bson_new_from_json_str(string data_str)

参数

参数名描述
data_strjson字符串

返回值

bson数据

使用方式

返回文档