Skip to main content

类型别名: JsonValue

机器翻译译自英文(docs.typesafe.ai)本页 3 段已全部译完

文档索引

在以下地址获取完整的文档索引:https://docs.typesafe.ai/llms.txt 使用此文件可以在进一步探索之前发现所有可用页面。

类型别名: JsonValue

type JsonValue = 
  | string
  | number
  | boolean
  | null
  | JsonValue[]
  | {
[key: string]: JsonValue;
};

一个与 JSON 兼容的值。