Skip to main content
Module

x/mongo/deps.ts>deserialize

MongoDB driver for Deno
Extremely Popular
Go to Latest
function deserialize
import { deserialize } from "https://deno.land/x/mongo@v0.31.0/deps.ts";

Deserialize data as BSON.

Parameters

buffer: Uint8Array | ArrayBuffer
  • the buffer containing the serialized set of BSON documents.
optional
options: DeserializeOptions = [UNSUPPORTED]

Returns

returns the deserialized Javascript Object.