UNPKG

@gent-js/gent

Version:

template-based data generator.

11 lines (10 loc) 565 B
import { type DocumentContext } from "../../document/index.js"; import { AbstractJsonable } from "../abstractJsonable.js"; import type { JsonableObject } from "../jsonableTypes.js"; import type { JsonObject } from "../jsonTypes.js"; export declare class ObjectJsonable extends AbstractJsonable { private readonly content; readonly type: "object"; constructor(content: JsonableObject, probability: number | undefined, weight: number | undefined); protected toJSONImpl(keyOrIndex: string | number, context: DocumentContext): JsonObject | undefined; }