std/json/types.ts
2024-06-21 14:56:11 +09:00

12 lines
290 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/** The type of the result of parsing JSON. */
export type JsonValue =
| { [key: string]: JsonValue | undefined }
| JsonValue[]
| string
| number
| boolean
| null;