Skip to main content
Module

x/deno/tools/release/deps.ts>dax.PathRef#readJson

A modern runtime for JavaScript and TypeScript.
Latest
method dax.PathRef.prototype.readJson
Re-export
import { dax } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";
const { PathRef } = dax;

Reads and parses the file as JSON, throwing if it doesn't exist or is not valid JSON.

Returns

Promise<T>