method Document.prototype.toJSONimport { Document } from "https://deno.land/x/windmill@v1.364.2/node_modules/yaml/browser/dist/doc/Document.js"; toJSON(jsonArg, onAnchor)A JSON representation of the document contents. ParametersjsonArgUsed by JSON.stringify to indicate the array index or property name. onAnchor