Class CoreSerdes


  • public abstract class CoreSerdes
    extends java.lang.Object
    Collection of common serializers/deserializers.

    To ser/de POJOs using JSON, you can use the module sdk-serde-jackson.

    • Field Detail

      • VOID

        public static Serde<java.lang.Void> VOID
        Noop Serde for void.
      • RAW

        public static Serde<byte[]> RAW
        Pass through Serde for byte array.
      • JSON_STRING

        public static Serde<java.lang.String> JSON_STRING
        Serde for String. This writes and reads String as JSON value.
      • JSON_BOOLEAN

        public static Serde<java.lang.Boolean> JSON_BOOLEAN
        Serde for Boolean. This writes and reads Boolean as JSON value.
      • JSON_BYTE

        public static Serde<java.lang.Byte> JSON_BYTE
        Serde for Byte. This writes and reads Byte as JSON value.
      • JSON_SHORT

        public static Serde<java.lang.Short> JSON_SHORT
        Serde for Short. This writes and reads Short as JSON value.
      • JSON_INT

        public static Serde<java.lang.Integer> JSON_INT
        Serde for Integer. This writes and reads Integer as JSON value.
      • JSON_LONG

        public static Serde<java.lang.Long> JSON_LONG
        Serde for Long. This writes and reads Long as JSON value.
      • JSON_FLOAT

        public static Serde<java.lang.Float> JSON_FLOAT
        Serde for Float. This writes and reads Float as JSON value.
      • JSON_DOUBLE

        public static Serde<java.lang.Double> JSON_DOUBLE
        Serde for Double. This writes and reads Double as JSON value.