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

Change JsonPath default configuration to custom configuration #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tanmayvijay
Copy link

Changed how the JsonPath configuration is provided to the JsonPath class.

JsonPath uses a static default configuration which can be set by any class at any time. json-rules set the default configuration when the class is initialized, but it may get overridden by other classes at runtime.

In the Configuration, one can pass a list of options which affect how the response of JsonPath will look like. This was causing a problem in one of our use case, where we don't want to pass any option.

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

Successfully merging this pull request may close these issues.

1 participant