Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / removeAtPaths

Function: removeAtPaths()

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

Removes JSON values at the given normalized paths.

Parameters

value

JSONValue

JSON value.

paths

readonly NormalizedPath[]

Normalized paths.

Returns

undefined | JSONValue