UNPKG

json-sculpt

Version:

JSON Sculpt is a utility library designed to transform or "sculpt" JSON objects into your desired shape.

6 lines (5 loc) 336 B
import { JsonObject, JsonValue } from "../types"; export declare const copyValue: <T>(value: T) => T; export declare const toString: (value: JsonValue) => string; export declare const getStringAfterLast: (string: string, target: string) => string; export declare const objectMatches: (json: JsonObject, matcher: JsonObject) => boolean;