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

x/endofunctor/src/components/encode/jsonString.mjs>default

🌐 Vixeny: At the forefront of modern web development, Vixeny stands as a runtime-independent, efficiency-driven library dedicated to upholding the principles of functional purity. It's crafted to empower developers with a robust foundation for creating scalable, maintainable, and high-performance web applications.
Latest
variable default
import { default } from "https://deno.land/x/endofunctor@v0.1.30/src/components/encode/jsonString.mjs";

Stringifies a given schema based on provided options.

Examples

// Using the default safe stringify method const str_one_string = stringify()({ type: "object", properties: { hello: { type: "string" }, }, required: ["hello"], });

// Using the unsafe stringify method const ustr_one_string = stringify({type:"unsafe"})({ type: "object", properties: { hello: { type: "string" }, }, required: ["hello"], });

type

(options) => unknown