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

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

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

origin: redisson/redisson

/**
 * Default implementation simply claims type is "string"; usually
 * overriden by custom serializers.
 */
@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional)
  throws JsonMappingException
{
  ObjectNode schema = (ObjectNode) getSchema(provider, typeHint);
  if (!isOptional) {
    schema.put("required", !isOptional);
  }
  return schema;
}
origin: redisson/redisson

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
  throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint);
  }
  return super.getSchema(provider, typeHint);
}
origin: redisson/redisson

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint,
  boolean isOptional) throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional);
  }
  return super.getSchema(provider, typeHint);
}
origin: com.hubspot.rosetta/RosettaCore

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException {
 return DELEGATE.getSchema(provider, typeHint);
}
origin: com.hubspot.rosetta/RosettaCore

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException {
 return DELEGATE.getSchema(provider, typeHint);
}
origin: com.eclipsesource.jaxrs/jersey-all

/**
 * Default implementation simply claims type is "string"; usually
 * overriden by custom serializers.
 */
@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional)
  throws JsonMappingException
{
  ObjectNode schema = (ObjectNode) getSchema(provider, typeHint);
  if (!isOptional) {
    schema.put("required", !isOptional);
  }
  return schema;
}

origin: hstaudacher/osgi-jax-rs-connector

/**
 * Default implementation simply claims type is "string"; usually
 * overriden by custom serializers.
 */
@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional)
  throws JsonMappingException
{
  ObjectNode schema = (ObjectNode) getSchema(provider, typeHint);
  if (!isOptional) {
    schema.put("required", !isOptional);
  }
  return schema;
}

origin: Nextdoor/bender

/**
 * Default implementation simply claims type is "string"; usually
 * overriden by custom serializers.
 */
@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional)
  throws JsonMappingException
{
  ObjectNode schema = (ObjectNode) getSchema(provider, typeHint);
  if (!isOptional) {
      schema.put("required", !isOptional);
  }
  return schema;
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

  /**
   * Default implementation simply claims type is "string"; usually
   * overriden by custom serializers.
   */
//    @Override
  public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional)
    throws JsonMappingException
  {
    ObjectNode schema = (ObjectNode) getSchema(provider, typeHint);
    if (!isOptional) {
      schema.put("required", !isOptional);
    }
    return schema;
  }
  
origin: com.jwebmp.jackson.core/jackson-databind

/**
 * Default implementation simply claims type is "string"; usually
 * overriden by custom serializers.
 */
@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional)
  throws JsonMappingException
{
  ObjectNode schema = (ObjectNode) getSchema(provider, typeHint);
  if (!isOptional) {
    schema.put("required", !isOptional);
  }
  return schema;
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint,
  boolean isOptional) throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional);
  }
  return super.getSchema(provider, typeHint);
}
origin: hstaudacher/osgi-jax-rs-connector

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint,
  boolean isOptional) throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional);
  }
  return super.getSchema(provider, typeHint);
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
  throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint);
  }
  return super.getSchema(provider, typeHint);
}
origin: com.jwebmp.jackson.core/jackson-databind

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint,
  boolean isOptional) throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional);
  }
  return super.getSchema(provider, typeHint);
}
origin: hstaudacher/osgi-jax-rs-connector

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
  throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint);
  }
  return super.getSchema(provider, typeHint);
}
origin: Nextdoor/bender

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint,
  boolean isOptional) throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional);
  }
  return super.getSchema(provider, typeHint);
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint,
  boolean isOptional) throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional);
  }
  return super.getSchema(provider, typeHint);
}
origin: com.jwebmp.jackson.core/jackson-databind

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
  throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint);
  }
  return super.getSchema(provider, typeHint);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
  throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint);
  }
  return super.getSchema(provider, typeHint);
}
origin: Nextdoor/bender

@Override
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
  throws JsonMappingException
{
  if (_delegateSerializer instanceof SchemaAware) {
    return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint);
  }
  return super.getSchema(provider, typeHint);
}
com.fasterxml.jackson.databind.ser.stdStdSerializergetSchema

Javadoc

Default implementation simply claims type is "string"; usually overriden by custom serializers.

Popular methods of StdSerializer

  • createSchemaNode
  • createObjectNode
  • findFormatOverrides
    Helper method that may be used to find if this deserializer has specific JsonFormat settings, either
  • handledType
  • _neitherNull
  • findConvertingContentSerializer
  • acceptJsonFormatVisitor
    Default implementation specifies no format. This behavior is usually overriden by custom serializers
  • serialize
  • serializeWithType

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • setContentView (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • CodeWhisperer alternatives
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