Class ChallengeDeserializer
- java.lang.Object
-
- org.openstreetmap.atlas.checks.maproulette.serializer.ChallengeDeserializer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_BLURBstatic java.lang.StringKEY_DESCRIPTIONstatic java.lang.StringKEY_DIFFICULTYstatic java.lang.StringKEY_INSTRUCTION
-
Constructor Summary
Constructors Constructor Description ChallengeDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Challengedeserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
-
-
-
Field Detail
-
KEY_DESCRIPTION
public static final java.lang.String KEY_DESCRIPTION
- See Also:
- Constant Field Values
-
KEY_BLURB
public static final java.lang.String KEY_BLURB
- See Also:
- Constant Field Values
-
KEY_INSTRUCTION
public static final java.lang.String KEY_INSTRUCTION
- See Also:
- Constant Field Values
-
KEY_DIFFICULTY
public static final java.lang.String KEY_DIFFICULTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
deserialize
public Challenge deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<Challenge>- Throws:
com.google.gson.JsonParseException
-
-