Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aether/deps.ts>Bson.UUID#toJSON

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

Converts the id into its JSON string representation. A 36 character (dashes included) hex string in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Returns

string