Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/fs/write_json.ts>writeJson

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

Parameters

filePath: string
object: any
optional
options: WriteJsonOptions = [UNSUPPORTED]

Returns

Promise<void>