Skip to main content
Module

x/cav/serial.ts>deserialize

A server framework for Deno
Go to Latest
function deserialize
import { deserialize } from "https://deno.land/x/cav@0.0.23/serial.ts";

Deserializes a JSON value that was serialize()d back into the original input. An error will be thrown if a value was serialized with an unknown serializer.

Type Parameters

optional
T = unknown

Parameters

value: unknown
optional
serializers: Serializers | null