@Override public void depositSchemaProperty(JsonObjectFormatVisitor v, SerializerProvider provider) throws JsonMappingException { if (v != null) { if (isRequired()) { v.property(this); } else { v.optionalProperty(this); } } }
ser = provider.findValueSerializer(getType(), this); boolean isOptional = !isRequired(); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint,
@Override public void depositSchemaProperty(JsonObjectFormatVisitor v, SerializerProvider provider) throws JsonMappingException { if (v != null) { if (isRequired()) { v.property(this); } else { v.optionalProperty(this); } } }
@Override public void depositSchemaProperty(JsonObjectFormatVisitor v) throws JsonMappingException { if (v != null) { if (isRequired()) { v.property(this); } else { v.optionalProperty(this); } } }
@Override public void depositSchemaProperty(JsonObjectFormatVisitor v) throws JsonMappingException { if (v != null) { if (isRequired()) { v.property(this); } else { v.optionalProperty(this); } } }
@Override public void depositSchemaProperty(JsonObjectFormatVisitor v, SerializerProvider provider) throws JsonMappingException { if (v != null) { if (isRequired()) { v.property(this); } else { v.optionalProperty(this); } } }
@Override public void depositSchemaProperty(JsonObjectFormatVisitor objectVisitor) throws JsonMappingException { if (objectVisitor != null) { if (isRequired()) { objectVisitor.property(this); } else { objectVisitor.optionalProperty(this); } } }
/** * Method called to handle appropriate type-specific visiting * over logical property this writer handles. * * @param objectVisitor ObjectVisitor which can receive the property * * @since 2.1 */ public void depositSchemaProperty(JsonObjectFormatVisitor objectVisitor) throws JsonMappingException { if (isRequired(objectVisitor.getProvider().getAnnotationIntrospector())) { objectVisitor.property(this); } else { objectVisitor.optionalProperty(this); } }
ser = provider.findValueSerializer(getType(), this); boolean isOptional = !isRequired(); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint, isOptional) ;
ser = provider.findValueSerializer(getType(), this); boolean isOptional = !isRequired(); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint, isOptional) ;
ser = provider.findValueSerializer(getType(), this); boolean isOptional = !isRequired(); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint,
ser = provider.findValueSerializer(getType(), this); boolean isOptional = !isRequired(); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint,
boolean isOptional = !isRequired(); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint, isOptional) ;
boolean isOptional = !isRequired(provider.getAnnotationIntrospector()); if (ser instanceof SchemaAware) { schemaNode = ((SchemaAware) ser).getSchema(provider, hint, isOptional) ;
? !beanPropertyWriter.isRequired() : isAnnotatedPropertyOptional(beanPropertyWriter::getAnnotation);