UNPKG

@yellicode/elements

Version:

The meta model API for Yellicode - an extensible code generator.

11 lines (10 loc) 458 B
import { Document } from '../document'; export declare class DocumentJSONTransformer { /** * A custom replacer function that is used as a replacer callback using JSON.stringify. * @param {elements.Document} document The document in which the key was found. * @param {any} key The key being stringified. * @param {any} value The value being stringified. */ static toJSON(document: Document, key: any, value: any): any; }