Interface JsonObjectUnmarshaller<T>

Type Parameters:
T - type of objects to unmarshal
All Known Implementing Classes:
GsonJsonObjectUnmarshaller, JacksonJsonObjectUnmarshaller
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 JsonObjectUnmarshaller<T>
Strategy interface to unmarshal a json representation into an object. It is the counterpart of JsonObjectMarshaller. Implementations are expected to be given a valid json object.
Since:
6.1
Author:
Mahmoud Ben Hassine
  • Method Summary

    Modifier and Type
    Method
    Description
    Unmarshal a json representation into an object.
  • Method Details

    • unmarshal

      T unmarshal(String json)
      Unmarshal a json representation into an object.
      Parameters:
      json - the json representation of the object
      Returns:
      the unmarshalled object