Package de.xima.fc.utils
Class JsonPathUtils
- java.lang.Object
 - 
- de.xima.fc.utils.JsonPathUtils
 
 
- 
public class JsonPathUtils extends Object
Helper class for working with JSON objects and JSON path.- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectreadValueAtJsonPath(Map<String,Object> json, Object pathValue)Returns the value of the object defined by the given JSON path if it exists. 
 - 
 
- 
- 
Method Detail
- 
readValueAtJsonPath
public static Object readValueAtJsonPath(Map<String,Object> json, Object pathValue)
Returns the value of the object defined by the given JSON path if it exists.- Parameters:
 json- to get the value from.pathValue- JSON path defining the location of the value within the given JSON object.- Returns:
 - the value of the object defined by the given JSON path if it exists and 
nullotherwise. 
 
 - 
 
 -