Class ThinkOption.ThinkOptionDeserializer
java.lang.Object
tools.jackson.databind.ValueDeserializer<ThinkOption>
org.springframework.ai.ollama.api.ThinkOption.ThinkOptionDeserializer
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider
- Enclosing interface:
ThinkOption
public static class ThinkOption.ThinkOptionDeserializer
extends tools.jackson.databind.ValueDeserializer<ThinkOption>
Deserializer that reads boolean or string values into ThinkOption instances.
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ThinkOptiondeserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) Methods inherited from class tools.jackson.databind.ValueDeserializer
createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
ThinkOptionDeserializer
public ThinkOptionDeserializer()
-
-
Method Details
-
deserialize
public @Nullable ThinkOption deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) - Specified by:
deserializein classtools.jackson.databind.ValueDeserializer<ThinkOption>
-