Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.jsonschema;
 
 
Marker interface for schema-aware serializers.
public interface SchemaAware
{
    
Get the representation of the schema to which this serializer will conform.

Parameters:
provider The serializer provider.
typeHint A hint about the type.
Returns:
Json-schema for this serializer.
    public JsonNode getSchema(SerializerProvider providerType typeHint)
        throws JsonMappingException;
    
    
Get the representation of the schema to which this serializer will conform.

Parameters:
provider The serializer provider.
isOptional Is the type optional
typeHint A hint about the type.
Returns:
Json-schema for this serializer.
    public JsonNode getSchema(SerializerProvider providerType typeHintboolean isOptional)
        throws JsonMappingException;
New to GrepCode? Check out our FAQ X