Interface KeyDeserializer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KeyDeserializer
Defines a mechanism for converting a path segment to a map key. A KeyDeserializer can optionally be passed to the constructor of the PathWalker class. It is needed when reading or writing to objects that are, or contain maps with a non-String key type.
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(Path path, int segmentIndex)
    Converts the path segment at the specified index to a map key.
  • Method Details