Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function readJson
import { readJson } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/fs/read_json.ts";

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

Promise<unknown>