Package com.nimbusds.common.json
Interface KeyExtractor<T>
-
public interface KeyExtractor<T>
Key extractor, intended forJSONObjectWriter
use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
extractKey(T object)
Extracts or determines a JSON object key from the specified object.
-
-
-
Method Detail
-
extractKey
String extractKey(T object)
Extracts or determines a JSON object key from the specified object.- Parameters:
object
- The object. Must not benull
.- Returns:
- The JSON object key,
null
if extraction failed.
-
-