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

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// 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;
/** * Options for {@linkcode JsonParseStream} and * {@linkcode ConcatenatedJsonParseStream}. */export interface ParseStreamOptions { /** * Controls the buffer of the {@linkcode TransformStream} used internally. * * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream#writablestrategy} */ readonly writableStrategy?: QueuingStrategy<string>; /** * Controls the buffer of the {@linkcode TransformStream} used internally. * * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream#readablestrategy} */ readonly readableStrategy?: QueuingStrategy<JsonValue>;}
std

Version Info

Tagged at
3 weeks ago