Interface SerializeOptions

interface SerializeOptions {
    checkKeys?: boolean;
    ignoreUndefined?: boolean;
    index?: number;
    serializeFunctions?: boolean;
}

Properties

checkKeys?: boolean

the serializer will check if keys are valid.

false

ignoreUndefined?: boolean

serialize will not emit undefined fields note that the driver sets this to false

true

index?: number

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

0

serializeFunctions?: boolean

serialize the javascript functions

false