Class ParticipantAdapter

java.lang.Object
at.stefangeyer.challonge.serializer.gson.adapter.ParticipantAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<at.stefangeyer.challonge.model.Participant>

public class ParticipantAdapter
extends java.lang.Object
implements com.google.gson.JsonDeserializer<at.stefangeyer.challonge.model.Participant>
Type adapter for the [Participant] class. The received json object is being unpacked.
  • Constructor Summary

    Constructors 
    Constructor Description
    ParticipantAdapter()  
  • Method Summary

    Modifier and Type Method Description
    at.stefangeyer.challonge.model.Participant deserialize​(com.google.gson.JsonElement src, java.lang.reflect.Type typeOfSource, com.google.gson.JsonDeserializationContext context)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • deserialize

      public at.stefangeyer.challonge.model.Participant deserialize​(com.google.gson.JsonElement src, java.lang.reflect.Type typeOfSource, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<at.stefangeyer.challonge.model.Participant>
      Throws:
      com.google.gson.JsonParseException