introduce helper classes to process a JSONObject and its nodes #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In my work on a big data server consuming and producing JSONs and utilising json-smart as the library to convert these JSONs into objects, I have frequently come across the need to manipulate or process the JSONObjects in different manners. So I added to this repo the most frequent usages in a standardised and modular package.
The package - net.minidev.json.actions - provides full traversal of the whole JSONObject or a partial by-path navigation of its branches. For each type of passage, hooks are provided via a corresponding interface to process complete branches or individual nodes of the JSONObject tree.
I would like to merge this content into the main repo of this library as think it may be useful to other developers, and as I would like other developers to enhance and extend this addition with me.
Thanks