Skip to main content
Module

std/fs/mod.ts>readJsonSync

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

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

unknown