public class JsonValueResolver extends Object
A key is resolved by finding any combination of dot-notated JsonPointer
, where dots are also valid keys.
Example:
{
"object": {
"simple.value": 5,
"complex": {
"value": 10
}
}
}
object.simple.value
resolves to 5object.complex.value
resolves to 10Modifier and Type | Method and Description |
---|---|
Optional<String> |
getProperty(String key)
Returns the value of the specified property.
|
Set<String> |
keys() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty
public Optional<String> getProperty(String key)
PropertyResolver
Optional
if the property is not
found.Copyright © 2010-2018, ForgeRock All Rights Reserved.