Interface Deserializer<T>


public interface Deserializer<T>
Deserializes a JSON string to a message.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deserialize a JSON string to message.
  • Method Details

    • readValue

      T readValue(String json)
      Deserialize a JSON string to message.
      • Values must be included unless their value is null or an "absent" reference values such as empty optionals.
      • Enums must be read as strings.
      • Unknown properties must be ignored.
      Parameters:
      json - to deserialize
      Returns:
      a deserialized Deserializer or null