Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.minidev.json.actions.navigate;
import net.minidev.json.JSONObject;
import net.minidev.json.actions.path.DotDelimiter;
import net.minidev.json.actions.path.TreePath;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* Navigates only the branches of a {@link JSONObject} corresponding to the paths specified.
*
* For each specified path to navigate, the {@link TreeNavigator} only traverses the matching
* branch.
*
* The navigator accepts an action and provides callback hooks for it to act on the traversed
* nodes at each significant step. See {@link NavigateAction}.
*
* See package-info for more details
*
* Example:
*
* To navigate the branch k1.k2 of the object {"k1":{"k2":"v1"}, "k3":{"k4":"v2"}} instantiate
* the navigator like so: new JSONNavigator("k1.k2")
*
* @author [email protected]
* @since 15 June 2016.
*
*/
public class TreeNavigator, L extends List