Class StatusDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- net.masterthought.cucumber.json.deserializers.StatusDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class StatusDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<T>Deserializes Status and maps all known but not supported into UNDEFINED status.- Author:
- Damian Szczepanik (damianszczepanik@github)
-
-
Constructor Summary
Constructors Constructor Description StatusDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tdeserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)Statusdeserialize(com.fasterxml.jackson.databind.JsonNode rootNode, Configuration configuration)-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
deserialize
public Status deserialize(com.fasterxml.jackson.databind.JsonNode rootNode, Configuration configuration)
-
deserialize
public T deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<T>- Throws:
IOException
-
-