Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/fs/mod.ts>readJson

Deno standard library
Go to Latest
function readJson
import { readJson } from "https://deno.land/std@v0.40.0/fs/mod.ts";

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

Promise<unknown>