Skip to main content
Module

x/dtils/json.ts>jsonEncode

The best unofficial library of utilities for Deno applications
Go to Latest
function jsonEncode
import { jsonEncode } from "https://deno.land/x/dtils@2.3.1/json.ts";

Stringify json with an optional spacer. Wraps the native implementation

Parameters

data: unknown
optional
spacer = [UNSUPPORTED]

Returns

string