Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/fs/read_json.ts>readJsonSync

A modern runtime for JavaScript and TypeScript.
Go to Latest
function readJsonSync
import { readJsonSync } from "https://deno.land/x/deno@v0.28.0/std/fs/read_json.ts";

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

unknown