Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cav/mod.ts>deserialize

A server framework for Deno
Go to Latest
function deserialize
Re-export
import { deserialize } from "https://deno.land/x/cav@0.2.3/mod.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