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

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

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

origin: redisson/redisson

if (!isEnabled(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)) {
  return;
origin: hstaudacher/osgi-jax-rs-connector

@Override
public void checkUnresolvedObjectId() throws UnresolvedForwardReference
{
  if (_objectIds == null) {
    return;
  }
  // 29-Dec-2014, tatu: As per [databind#299], may also just let unresolved refs be...
  if (!isEnabled(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)) {
    return;
  }
  UnresolvedForwardReference exception = null;
  for (Entry<IdKey,ReadableObjectId> entry : _objectIds.entrySet()) {
    ReadableObjectId roid = entry.getValue();
    if (roid.hasReferringProperties()) {
      if (exception == null) {
        exception = new UnresolvedForwardReference("Unresolved forward references for: ");
      }
      for (Iterator<Referring> iterator = roid.referringProperties(); iterator.hasNext(); ) {
        Referring referring = iterator.next();
        exception.addUnresolvedId(roid.getKey().key, referring.getBeanType(), referring.getLocation());
      }
    }
  }
  if (exception != null) {
    throw exception;
  }
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override
public void checkUnresolvedObjectId() throws UnresolvedForwardReference
{
  if (_objectIds == null) {
    return;
  }
  // 29-Dec-2014, tatu: As per [databind#299], may also just let unresolved refs be...
  if (!isEnabled(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)) {
    return;
  }
  UnresolvedForwardReference exception = null;
  for (Entry<IdKey,ReadableObjectId> entry : _objectIds.entrySet()) {
    ReadableObjectId roid = entry.getValue();
    if (roid.hasReferringProperties()) {
      if (exception == null) {
        exception = new UnresolvedForwardReference("Unresolved forward references for: ");
      }
      for (Iterator<Referring> iterator = roid.referringProperties(); iterator.hasNext(); ) {
        Referring referring = iterator.next();
        exception.addUnresolvedId(roid.getKey().key, referring.getBeanType(), referring.getLocation());
      }
    }
  }
  if (exception != null) {
    throw exception;
  }
}
origin: Nextdoor/bender

if (!isEnabled(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)) {
  return;
origin: com.jwebmp.jackson.core/jackson-databind

if (!isEnabled(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)) {
  return;
com.fasterxml.jackson.databind.deserDefaultDeserializationContextisEnabled

Popular methods of DefaultDeserializationContext

  • createInstance
    Method called to create actual usable per-deserialization context instance.
  • hasValueDeserializerFor
  • 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
  • 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

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • Menu (java.awt)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Notification (javax.management)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top Sublime Text plugins
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