public class JacksonMetadata extends Object implements Iterable<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition>
| Constructor and Description |
|---|
JacksonMetadata(com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<?> type)
Creates a new
JacksonMetadata instance for the given ObjectMapper and type. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition |
getDefinitionFor(PersistentProperty<?> property)
Returns the
BeanPropertyDefinition for the given PersistentProperty. |
boolean |
isExported(PersistentProperty<?> property)
Check if a given property for a type is available to be exported, i.e. serialized via Jackson.
|
Iterator<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic JacksonMetadata(com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<?> type)
JacksonMetadata instance for the given ObjectMapper and type.mapper - must not be null.type - must not be null.public com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition getDefinitionFor(PersistentProperty<?> property)
BeanPropertyDefinition for the given PersistentProperty.property - must not be null.PersistentProperty.public boolean isExported(PersistentProperty<?> property)
property - must not be null.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.