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

x/simple_utility/src/deno/json.ts>jsonRead

Simplify processing for Deno.
Go to Latest
function jsonRead
import { jsonRead } from "https://deno.land/x/simple_utility@v2.0.5/src/deno/json.ts";

Read JSON file and convert to object.

Examples

Example 1

const json = await jsonRead("./data.json");

Parameters

path: string

Returns

Promise<T>