Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_common/src/common/iterables/json-map-set/jsonMapSetParse.ts>jsonMapSetParse

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function jsonMapSetParse
import { jsonMapSetParse } from "https://deno.land/x/fathym_common@v0.2.165-integration/src/common/iterables/json-map-set/jsonMapSetParse.ts";

Parses a JSON string into a value with Map/Set reviver applied.

Examples

From direct import

import { jsonMapSetParse } from "@fathym/common/iterables";

const obj = jsonMapSetParse('{}');

From common import

import { jsonMapSetParse } from "@fathym/common";

const obj = jsonMapSetParse('{}');

Parameters

value: string

The value to parse with Map/Set reviver.

Returns

The parsed object.