Discord Player

decode

Decode Base64 JSON without validating its entity shape. Decoded values must still pass through deserialize() before reconstruction.

You are reading the v8 docsDev
FunctionTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/utils/serde.ts:122
function decode(value: string): unknown

Decode Base64 JSON without validating its entity shape. Decoded values must still pass through deserialize() before reconstruction.

Parameters

NameTypeDescription
valuestring

Base64 JSON string.

Returns

unknown

Parsed but untrusted data.