Skip to content

JSON

2 wrappers generated from JSON and JSON.prototype. Every entry takes a single object literal whose keys mirror the original parameter names, plus an optional prompt: string for the LLM path.

MethodFirst signature
parse
parse(input: { text: string; reviver?: (this: any; key: string; value: any) => any; prompt?: string }): Promise<any>
stringify
stringify(input: { value: any; replacer?: (this: any; key: string; value: any) => any; space?: string | number; prompt?: string }): Promise<string>