Interface ConfigCodec<T>

Type Parameters:
T - the value type this codec describes

public interface ConfigCodec<T>
Converts a typed config value to and from the string form stored in a ConfigDocument.

Only the codec identity is exposed on this SDK-facing interface; the encode/decode work is performed by the runtime that owns the persisted document.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the stable type identifier this codec is registered under.
  • Method Details

    • typeId

      String typeId()
      Returns the stable type identifier this codec is registered under.