Skip to main content
Module

std/fs/read_json.ts>readJsonSync

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readJsonSync
import { readJsonSync } from "https://deno.land/std@v0.34.0/fs/read_json.ts";

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

unknown