Files
jazz-tools/src/jsonValue.ts
2023-08-14 18:00:56 +01:00

7 lines
284 B
TypeScript

import { CoID, ContentType } from './contentType.js';
export type JsonAtom = string | number | boolean | null;
export type JsonValue = JsonAtom | JsonArray | JsonObject | CoID<ContentType>;
export type JsonArray = JsonValue[];
export type JsonObject = { [key: string]: JsonValue; };