Here are the examples of the java api class com.fasterxml.jackson.databind.BeanProperty taken from open source projects.
1. BackendSerializer#depositSchemaProperty()
Project: torodb
File: BackendSerializer.java
File: BackendSerializer.java
private void depositSchemaProperty(JsonObjectFormatVisitor v, String name, JavaType type) throws JsonMappingException { BeanProperty prop = new BeanProperty.Std(PropertyName.construct(name), type, null, null, null, PropertyMetadata.STD_OPTIONAL) { @Override public void depositSchemaProperty(JsonObjectFormatVisitor v) { try { if (v != null) { if (isRequired()) { v.property(this); } else { v.optionalProperty(this); } } } catch (JsonMappingException jsonMappingException) { throw new RuntimeException(jsonMappingException); } } }; prop.depositSchemaProperty(v); }