Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/lib/json.ts>ObjectDescriptor

The best unofficial library of utilities for Deno applications
Go to Latest
interface ObjectDescriptor
import { type ObjectDescriptor } from "https://deno.land/x/dtils@1.6.2/lib/json.ts";

Properties

type: "object"
optional
keys: { [key: string]: JsonDescriptor; }

Either keys or valueType must be specified

optional
valueType: JsonDescriptor

The key can be anything, but the value must match this. Either keys or valueType must be specified