deno.land / std@0.180.0 / json / common.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license./** The type of the result of parsing JSON. */export type JsonValue = | { [key: string]: JsonValue | undefined } | JsonValue[] | string | number | boolean | null;
/** Optional object interface for `JSONParseStream` and `ConcatenatedJsonParseStream`. */export interface ParseStreamOptions { /** Controls the buffer of the TransformStream used internally. Check https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream. */ readonly writableStrategy?: QueuingStrategy<string>; /** Controls the buffer of the TransformStream used internally. Check https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream. */ readonly readableStrategy?: QueuingStrategy<JsonValue>;}
std

Version Info

Tagged at
a year ago