Interface KeyExtractor<T>


public interface KeyExtractor<T>
Key extractor, intended for JSONObjectWriter use.
  • Method Summary

    Modifier and Type
    Method
    Description
    extractKey(T object)
    Extracts or determines a JSON object key from the specified object.
  • Method Details

    • extractKey

      String extractKey(T object)
      Extracts or determines a JSON object key from the specified object.
      Parameters:
      object - The object. Must not be null.
      Returns:
      The JSON object key, null if extraction failed.