Skip to main content
Module

x/authlete_deno/mod.ts>stringfyJson

Authlete Library for Deno
Go to Latest
function stringfyJson
import { stringfyJson } from "https://deno.land/x/authlete_deno@v1.2.9/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.