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