Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@tiptap/react.ts>generateJSON

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function generateJSON
import { generateJSON } from "https://deno.land/x/netzo@0.5.106/deps/@tiptap/react.ts";

Generate JSONContent from HTML

Parameters

html: string

The HTML to generate JSONContent from

extensions: Extensions

The extensions to use for the schema

Returns

Record<string, any>

The generated JSONContent