Class ObjectPath
java.lang.Object
org.elasticsearch.common.xcontent.ObjectPath
public final class ObjectPath
extends java.lang.Object
Helper class to navigate nested objects using dot notation
-
Method Summary
Modifier and Type Method Description static <T> T
eval(java.lang.String path, java.lang.Object object)
Return the value within a given object at the specified path, ornull
if the path does not exist
-
Method Details
-
eval
public static <T> T eval(java.lang.String path, java.lang.Object object)Return the value within a given object at the specified path, ornull
if the path does not exist
-