UNPKG

jsonv-ts

Version:

JSON Schema builder and validator for TypeScript with static type inference, Hono middleware for OpenAPI generation and validation, and MCP server/client implementation. Lightweight, dependency-free, and built on Web Standards.

6 lines (5 loc) 459 B
import type { Schema } from "../schema"; export declare const toJsonPointer: (path?: (string | number)[], prefix?: string) => string; export declare const fromJsonPointer: (pointer: string) => string[]; export declare function getJsonPath(object: object | Schema, _path: string | (string | number)[], defaultValue?: undefined): any; export declare function getPath(object: object | Schema, _path: string | (string | number)[], defaultValue?: undefined): any;