import { string } from "https://deno.land/x/fun@v2.0.0-alpha.6/json_schema.ts";
Creates a JsonBuilder of an string type
Examples
Example 1
Example 1
import * as J from "./json_schema.ts";
import { pipe } from "./fn.ts";
// schema === { type: "string" }
const schema = J.print(J.string());
Returns
JsonBuilder<string>