Class JSONTraverser
- java.lang.Object
-
- net.minidev.json.actions.traverse.TreeTraverser<net.minidev.json.JSONObject,net.minidev.json.JSONArray>
-
- net.minidev.json.actions.traverse.JSONTraverser
-
public class JSONTraverser extends TreeTraverser<net.minidev.json.JSONObject,net.minidev.json.JSONArray>
Traverses every node of aJSONObjectJSONTraverseraccepts an action and provides callback hooks for it to act on the traversed nodes at each significant step. SeeJSONTraverseAction.A key to the right of a dot is a direct child of a key to the left of a dot. Keys with a dot in their name are not supported.
See package-info for more details
- Author:
- adoneitan@gmail.com
-
-
Field Summary
-
Fields inherited from class net.minidev.json.actions.traverse.TreeTraverser
action, delim, pathPrefix
-
-
Constructor Summary
Constructors Constructor Description JSONTraverser(JSONTraverseAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONTraverserwith(PathDelimiter delim)-
Methods inherited from class net.minidev.json.actions.traverse.TreeTraverser
traverse, with
-
-
-
-
Constructor Detail
-
JSONTraverser
public JSONTraverser(JSONTraverseAction action)
-
-
Method Detail
-
with
public JSONTraverser with(PathDelimiter delim)
-
-