Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to add jsonpath instead of the path we're receiving currently #511

Open
faizan-gyaan opened this issue Dec 11, 2024 · 1 comment

Comments

@faizan-gyaan
Copy link

Currently we are receiving following output from DeepDiff -
{'values_changed': {"root['collection_config']['private_collection_creation_allowed']": {'new_value': False, 'old_value': True}}}

Instead what is ideal for my use case is instead of the root['collection_config']['private_collection_creation_allowed'] if we could get the json path itself - $.collection_config.private_collection_creation_allowed.

@seperman
Copy link
Owner

@faizan-gyaan Have you looked into the Tree view and using path(output_format=’list’) ? Then you can easily create the path format you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants