Class JacksonSerdes

java.lang.Object
dev.restate.sdk.serde.jackson.JacksonSerdes

@Deprecated(forRemoval=true, since="2.0") public final class JacksonSerdes extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
This will be removed in the next release, please check the individual methods for more details.
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> Serde<T>
    of(com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Pass a TypeRef to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes.
    static <T> Serde<T>
    of(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Pass a TypeRef to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes.
    static <T> Serde<T>
    of(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<T> clazz)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Pass a Class to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes.
    static <T> Serde<T>
    of(Class<T> clazz)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Pass a Class to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      @Deprecated(forRemoval=true, since="2.0") public static <T> Serde<T> of(Class<T> clazz)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Pass a Class to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes. This method will be removed in the next release.
    • of

      @Deprecated(forRemoval=true, since="2.0") public static <T> Serde<T> of(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<T> clazz)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Pass a Class to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes. If you need to customize the object mapper, look at JacksonSerdeFactory This method will be removed in the next release.
    • of

      @Deprecated(forRemoval=true, since="2.0") public static <T> Serde<T> of(com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Pass a TypeRef to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes. This method will be removed in the next release.
    • of

      @Deprecated(forRemoval=true, since="2.0") public static <T> Serde<T> of(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Pass a TypeRef to the context method requiring serialization/deserialization, instead of providing a serde using JacksonSerdes. If you need to customize the object mapper, look at JacksonSerdeFactory This method will be removed in the next release.