Tabnine Logo
StdSerializer.findFormatOverrides
Code IndexAdd Tabnine to your IDE (free)

How to use
findFormatOverrides
method
in
com.fasterxml.jackson.databind.ser.std.StdSerializer

Best Java code snippets using com.fasterxml.jackson.databind.ser.std.StdSerializer.findFormatOverrides (Showing top 3 results out of 315)

origin: redisson/redisson

/**
 * Convenience method that uses {@link #findFormatOverrides} to find possible
 * defaults and/of overrides, and then calls <code>JsonFormat.Value.getFeature(...)</code>
 * to find whether that feature has been specifically marked as enabled or disabled.
 * 
 * @param typeForDefaults Type (erased) used for finding default format settings, if any
 *
 * @since 2.7
 */
protected Boolean findFormatFeature(SerializerProvider provider,
    BeanProperty prop, Class<?> typeForDefaults, JsonFormat.Feature feat)
{
  JsonFormat.Value format = findFormatOverrides(provider, prop, typeForDefaults);
  if (format != null) {
    return format.getFeature(feat);
  }
  return null;
}
origin: Nextdoor/bender

/**
 * Convenience method that uses {@link #findFormatOverrides} to find possible
 * defaults and/of overrides, and then calls <code>JsonFormat.Value.getFeature(...)</code>
 * to find whether that feature has been specifically marked as enabled or disabled.
 * 
 * @param typeForDefaults Type (erased) used for finding default format settings, if any
 *
 * @since 2.7
 */
protected Boolean findFormatFeature(SerializerProvider provider,
    BeanProperty prop, Class<?> typeForDefaults, JsonFormat.Feature feat)
{
  JsonFormat.Value format = findFormatOverrides(provider, prop, typeForDefaults);
  if (format != null) {
    return format.getFeature(feat);
  }
  return null;
}
origin: com.jwebmp.jackson.core/jackson-databind

/**
 * Convenience method that uses {@link #findFormatOverrides} to find possible
 * defaults and/of overrides, and then calls <code>JsonFormat.Value.getFeature(...)</code>
 * to find whether that feature has been specifically marked as enabled or disabled.
 * 
 * @param typeForDefaults Type (erased) used for finding default format settings, if any
 *
 * @since 2.7
 */
protected Boolean findFormatFeature(SerializerProvider provider,
    BeanProperty prop, Class<?> typeForDefaults, JsonFormat.Feature feat)
{
  JsonFormat.Value format = findFormatOverrides(provider, prop, typeForDefaults);
  if (format != null) {
    return format.getFeature(feat);
  }
  return null;
}
com.fasterxml.jackson.databind.ser.stdStdSerializerfindFormatOverrides

Javadoc

Helper method that may be used to find if this deserializer has specific JsonFormat settings, either via property, or through type-specific defaulting.

Popular methods of StdSerializer

  • createSchemaNode
  • getSchema
    Default implementation simply claims type is "string"; usually overriden by custom serializers.
  • createObjectNode
  • handledType
  • _neitherNull
  • findConvertingContentSerializer
  • acceptJsonFormatVisitor
    Default implementation specifies no format. This behavior is usually overriden by custom serializers
  • serialize
  • serializeWithType

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • String (java.lang)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • 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