Callback for set in JsonStore
Opened this issue · 1 comments
fadoe commented
For JsonStore I need to use a callback for method set() to manipulate the existing value. I is very easy to implement, but for which version should I send a pull request?
The master looks not good for me to use it now in production. And for the tag 1.1 I can't find a equal branch.
Do you have a stable branch for version 1.x or can you create one?
There are also two versions to implement the callback:
- We can check in the get method and call the callback.
- We use a new method for example setByCallback.
Which version you prefer?
fadoe commented
have a look at https://github.com/fadoe/JsonPath/tree/1.0