UNPKG

@stryke/json

Version:

A package containing JSON parsing/stringify utilities used by Storm Software.

14 lines (13 loc) 446 B
import { ParseError } from "jsonc-parser"; //#region src/utils/parse-error.d.ts /** * Nicely formats a JSON error with context * * @param input - JSON content as string * @param parseError - jsonc ParseError * @returns Formatted error message with context */ declare function formatParseError(input: string, parseError: ParseError): string; //#endregion export { formatParseError as t }; //# sourceMappingURL=parse-error-B92pIZyz.d.mts.map