Class EmbeddingDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- net.masterthought.cucumber.json.deserializers.EmbeddingDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class EmbeddingDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<T>
Deserializes embedding and stores it in attachment directory.- Author:
- Damian Szczepanik (damianszczepanik@github)
-
-
Constructor Summary
Constructors Constructor Description EmbeddingDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)
Embedding
deserialize(com.fasterxml.jackson.databind.JsonNode rootNode, Configuration configuration)
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
deserialize
public Embedding 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:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<T>
- Throws:
IOException
-
-