Debian Codegraph @

node/@bufbuild/protobuf/dist/commonjs/json-value.d.ts

raw
1 /**
2 * Represents any possible JSON value:
3 * - number
4 * - string
5 * - boolean
6 * - null
7 * - object (with any JSON value as property)
8 * - array (with any JSON value as element)
9 */
10 export type JsonValue = number | string | boolean | null | JsonObject | JsonValue[];
11 /**
12 * Represents a JSON object.
13 */
14 export type JsonObject = {
15 [k: string]: JsonValue;
16 };