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

x/authlete_deno/mod.ts>stringfyJson

Authlete Library for Deno
Go to Latest
function stringfyJson
Re-export
import { stringfyJson } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Convert a JavaScript value to a JSON string. null is returned if failed to stringfy the value.

Note: this method is a wrapper method for JSON.stringify().

Parameters

value: any

Returns

string | null

A string the given value is converted to.