The expected return type.
The object or array to traverse.
Dot-separated string representing the path to the desired value.
Value to return if the path does not exist.
If true, disables array indexing in the path.
The value at the specified path, or the default value if not found.
Retrieves a value from a nested object or array using a dot-separated path string. Supports array indexing and concatenated keys for complex structures.