Class JsonPathCreator
- java.lang.Object
-
- io.wcm.caravan.io.jsontransform.element.JsonPathCreator
-
-
Constructor Summary
Constructors Constructor Description JsonPathCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonPath
getJsonPath()
JsonPath
getJsonPathForElement(JsonElement element)
Adds the given element to the bread crumb and returns the current JSON path.
-
-
-
Method Detail
-
getJsonPathForElement
public JsonPath getJsonPathForElement(JsonElement element)
Adds the given element to the bread crumb and returns the current JSON path.- Parameters:
element
- Current passed element- Returns:
- Current JSON path
-
getJsonPath
public JsonPath getJsonPath()
- Returns:
- Current JSON path
-
-