API 参考
    正在准备搜索索引...
    interface SerializeOptions {
        checkKeys?: boolean;
        ignoreUndefined?: boolean;
        index?: number;
        serializeFunctions?: boolean;
    }
    索引

    属性

    checkKeys?: boolean

    the serializer will check if keys are valid.

    ignoreUndefined?: boolean

    serialize will not emit undefined fields (default:true)

    index?: number

    the index in the buffer where we wish to start serializing into

    serializeFunctions?: boolean

    serialize the javascript functions (default:false).