Deep delete keys and their values from an input object. If a key in object contains substring, the key an its value is deleted.
input object that needs keys removed
substring to search for in key
the modified object without the matching keys and their values
Get all paths for an object
object
Optional
prefix: stringprefix (path calculated up to this point). Only needed for recursion or to add a global prefix to all paths.
Optional
delim: stringdelimiter used to separate elements of the path. Default is '.'.
an array of paths
Compare two json objects
object 1
object 2
Optional
ignoreKeys: string[]array of keys to ignore in comparison
true if the two json objects have the same length and all the properties have the same value
Deep clone object