Skip to content

使用cjson序列化时objectid提示 不能序列化 #67

@liuwma

Description

@liuwma

使用cjson序列化时objectid提示
Cannot serialise function: type not supported

解决办法:
bson.lua 第58行修改
修改前
58 v = new_object_id ( get ( 12 ) )
修改后
58 v = new_object_id ( get ( 12 ) ):tostring()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions