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

x/deno/std/fs/mod.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/mod.ts";

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

unknown