Package com.nimbusds.common.json
Interface KeyExtractor<T>
public interface KeyExtractor<T>
Key extractor, intended for
JSONObjectWriter
use.-
Method Summary
Modifier and TypeMethodDescriptionextractKey
(T object) Extracts or determines a JSON object key from the specified object.
-
Method Details
-
extractKey
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.
-