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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable ThinkOption
    deserialize(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

    Methods inherited from class java.lang.Object

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

    • ThinkOptionDeserializer

      public ThinkOptionDeserializer()
  • Method Details

    • deserialize

      public @Nullable ThinkOption deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt)
      Specified by:
      deserialize in class tools.jackson.databind.ValueDeserializer<ThinkOption>