Recursively extracts all JSON paths with their corresponding primitive values from an object.
The input object or value to traverse.
Optional parameters to control traversal and filtering.
an array of objects each containing a jpath and its corresponding primitive value.
Recursively extracts all JSON paths with their corresponding primitive values from an object.