Package com.c1games.terminal.algo.serialization

  • Class Summary 
    Class Description
    JsonDeserializeClassFromTuple<T>
    GSON deserializer that deserializes a class from an array, deserializing each the value of each field, in order, from that corresponding index in the array.
    JsonDeserializeEnumFromInt<T>
    GSON deserializer which deserializes an enum from an integer, simply producing the variant of the enum with the index that corresponds to the JSON iterator.
    JsonSerializeClassToTuple<T>
    GSON deserializer that deserializes a class into an array, serializing each the value of each field, in order, into that corresponding index in the array.
    TypedListDeserializer<L,​E>
    GSON deserializer for a class which is represented by another list of elements.
    UnitTypeDeserializer
    GSON deserializer for unit types from their shorthand strings as defined in the config.
    UnitTypeSerializer
    GSON serializer for unit types to their shorthand strings as defined in the config.
  • Annotation Types Summary 
    Annotation Type Description
    StartIndexAt
    Annotation for JsonDeserializeEnumFromInt which can change the indexing of the enum variants from 0 to some other integer, such as 1.