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

Useful snippet collection.
Go to Latest
import * as simpleUtility from "https://deno.land/x/simple_utility@v2.0.0/src/deno/json.ts";

Functions

Read JSON file and convert to object. If JSON file does not exist create new file with default value. Argument default value also act as type definition.

Read JSON file and convert to object.

Convert from object to JSON and write to file.