Class GsonJavaTimeAdapter.DurationAdapter

  • Enclosing class:
    GsonJavaTimeAdapter

    public static class GsonJavaTimeAdapter.DurationAdapter
    extends com.google.gson.TypeAdapter<Duration>
    Type adapter for Duration. Serialized representation is a JSON object with the seconds and nanos properties.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • DurationAdapter

        public DurationAdapter()