Interface JsonCodec<T>

All Superinterfaces:
com.dslplatform.json.JsonReader.ReadObject<T>, com.dslplatform.json.JsonWriter.WriteObject<T>
All Known Subinterfaces:
ChunkIdCodec<C>
All Known Implementing Classes:
AggregationChunkCodec, AggregationDiffCodec, PrimaryKeyCodec

public interface JsonCodec<T> extends com.dslplatform.json.JsonReader.ReadObject<T>, com.dslplatform.json.JsonWriter.WriteObject<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default JsonCodec<@Nullable T>
     
    static <T> JsonCodec<T>
    of(com.dslplatform.json.JsonReader.ReadObject<T> readObject, com.dslplatform.json.JsonWriter.WriteObject<T> writeObject)
     

    Methods inherited from interface com.dslplatform.json.JsonReader.ReadObject

    read

    Methods inherited from interface com.dslplatform.json.JsonWriter.WriteObject

    write
  • Method Details

    • of

      static <T> JsonCodec<T> of(com.dslplatform.json.JsonReader.ReadObject<T> readObject, com.dslplatform.json.JsonWriter.WriteObject<T> writeObject)
    • nullable

      default JsonCodec<@Nullable T> nullable()