Tabnine Logo
DefaultDeserializationContext.hasValueDeserializerFor
Code IndexAdd Tabnine to your IDE (free)

How to use
hasValueDeserializerFor
method
in
com.fasterxml.jackson.databind.deser.DefaultDeserializationContext

Best Java code snippets using com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.hasValueDeserializerFor (Showing top 12 results out of 315)

origin: redisson/redisson

/**
 * Method similar to {@link #canDeserialize(JavaType)} but that can return
 * actual {@link Throwable} that was thrown when trying to construct
 * serializer: this may be useful in figuring out what the actual problem is.
 * 
 * @since 2.3
 */
public boolean canDeserialize(JavaType type, AtomicReference<Throwable> cause)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, cause);
}

origin: redisson/redisson

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done by checking whether a registered deserializer can
 * be found or built for the type; if not (either by no mapping being
 * found, or through an <code>Exception</code> being thrown, false
 * is returned.
 *<p>
 * <b>NOTE</b>: in case an exception is thrown during course of trying
 * co construct matching deserializer, it will be effectively swallowed.
 * If you want access to that exception, call
 * {@link #canDeserialize(JavaType, AtomicReference)} instead.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, null);
}
origin: hstaudacher/osgi-jax-rs-connector

/**
 * Method similar to {@link #canDeserialize(JavaType)} but that can return
 * actual {@link Throwable} that was thrown when trying to construct
 * serializer: this may be useful in figuring out what the actual problem is.
 * 
 * @since 2.3
 */
public boolean canDeserialize(JavaType type, AtomicReference<Throwable> cause)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, cause);
}

origin: Nextdoor/bender

/**
 * Method similar to {@link #canDeserialize(JavaType)} but that can return
 * actual {@link Throwable} that was thrown when trying to construct
 * serializer: this may be useful in figuring out what the actual problem is.
 * 
 * @since 2.3
 */
public boolean canDeserialize(JavaType type, AtomicReference<Throwable> cause)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, cause);
}

origin: com.eclipsesource.jaxrs/jersey-all

/**
 * Method similar to {@link #canDeserialize(JavaType)} but that can return
 * actual {@link Throwable} that was thrown when trying to construct
 * serializer: this may be useful in figuring out what the actual problem is.
 * 
 * @since 2.3
 */
public boolean canDeserialize(JavaType type, AtomicReference<Throwable> cause)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, cause);
}

origin: com.jwebmp.jackson.core/jackson-databind

/**
 * Method similar to {@link #canDeserialize(JavaType)} but that can return
 * actual {@link Throwable} that was thrown when trying to construct
 * serializer: this may be useful in figuring out what the actual problem is.
 *
 * @since 2.3
 */
public boolean canDeserialize(JavaType type, AtomicReference<Throwable> cause)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, cause);
}
origin: com.fasterxml.jackson.core/com.springsource.com.fasterxml.jackson.core.jackson-databind

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done
 * by checking whether a deserializer can be found for the type.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done
 * by checking whether a deserializer can be found for the type.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type);
}
origin: Nextdoor/bender

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done by checking whether a registered deserializer can
 * be found or built for the type; if not (either by no mapping being
 * found, or through an <code>Exception</code> being thrown, false
 * is returned.
 *<p>
 * <b>NOTE</b>: in case an exception is thrown during course of trying
 * co construct matching deserializer, it will be effectively swallowed.
 * If you want access to that exception, call
 * {@link #canDeserialize(JavaType, AtomicReference)} instead.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, null);
}
origin: hstaudacher/osgi-jax-rs-connector

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done by checking whether a registered deserializer can
 * be found or built for the type; if not (either by no mapping being
 * found, or through an <code>Exception</code> being thrown, false
 * is returned.
 *<p>
 * <b>NOTE</b>: in case an exception is thrown during course of trying
 * co construct matching deserializer, it will be effectively swallowed.
 * If you want access to that exception, call
 * {@link #canDeserialize(JavaType, AtomicReference)} instead.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, null);
}
origin: com.eclipsesource.jaxrs/jersey-all

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done by checking whether a registered deserializer can
 * be found or built for the type; if not (either by no mapping being
 * found, or through an <code>Exception</code> being thrown, false
 * is returned.
 *<p>
 * <b>NOTE</b>: in case an exception is thrown during course of trying
 * co construct matching deserializer, it will be effectively swallowed.
 * If you want access to that exception, call
 * {@link #canDeserialize(JavaType, AtomicReference)} instead.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, null);
}
origin: com.jwebmp.jackson.core/jackson-databind

/**
 * Method that can be called to check whether mapper thinks
 * it could deserialize an Object of given type.
 * Check is done by checking whether a registered deserializer can
 * be found or built for the type; if not (either by no mapping being
 * found, or through an <code>Exception</code> being thrown, false
 * is returned.
 *<p>
 * <b>NOTE</b>: in case an exception is thrown during course of trying
 * co construct matching deserializer, it will be effectively swallowed.
 * If you want access to that exception, call
 * {@link #canDeserialize(JavaType, AtomicReference)} instead.
 *
 * @return True if mapper can find a serializer for instances of
 *  given class (potentially serializable), false otherwise (not
 *  serializable)
 */
public boolean canDeserialize(JavaType type)
{
  return createDeserializationContext(null,
      getDeserializationConfig()).hasValueDeserializerFor(type, null);
}
com.fasterxml.jackson.databind.deserDefaultDeserializationContexthasValueDeserializerFor

Popular methods of DefaultDeserializationContext

  • createInstance
    Method called to create actual usable per-deserialization context instance.
  • with
    Fluent factory method used for constructing a blueprint instance with different factory
  • copy
    Method needed to ensure that ObjectMapper#copy will work properly; specifically, that caches are cle
  • isEnabled
  • createReadableObjectId
    Overridable factory method to create a new instance of ReadableObjectId or its subclass. It is meant
  • getParser
  • tryToResolveUnresolvedObjectId
    Overridable helper method called to try to resolve otherwise unresolvable ReadableObjectId; and if t
  • assignAndReturnParser
  • findObjectId

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Option (scala)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now