Skip to main content
Module

x/dtils/json.ts>jsonDecode

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

Parse json.

Wraps the native implementation, the difference being that primitives are parsed at the top level (i.e. jsonParse("null")) is valid

Parameters

json: string

Returns

unknown