UNPKG

@winglet/json

Version:

TypeScript library for safe and efficient JSON data manipulation with RFC 6901 (JSON Pointer) and RFC 6902 (JSON Patch) compliance, featuring prototype pollution protection and immutable operations

3 lines (2 loc) 225 B
import type { Dictionary } from '../../../../@aileron/declare'; export declare const setValueByPointer: <Input extends Dictionary | Array<any>>(input: Input, segments: string[], value: any, overwrite: boolean) => Dictionary;