Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / removeAtPaths

Function: removeAtPaths() ​

ts
function removeAtPaths(value, paths): JSONValue | undefined;

Removes JSON values at the given normalized paths.

Parameters ​

value ​

JSONValue

JSON value.

paths ​

readonly NormalizedPath[]

Normalized paths.

Returns ​

JSONValue | undefined