Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aether/deps.ts>Bson.SerializeOptions

A Deno library to interface with the Discord API
Latest
interface Bson.SerializeOptions
Re-export
import { type Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { SerializeOptions } = Bson;

Properties

optional
checkKeys: boolean

the serializer will check if keys are valid.

optional
serializeFunctions: boolean

serialize the javascript functions (default:false).

optional
ignoreUndefined: boolean

serialize will not emit undefined fields (default:true)

optional
index: number

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