public interface PropertyNameResolver
JsonProperty
Modifier and Type | Interface and Description |
---|---|
static class |
PropertyNameResolver.AnnotationPropertyNameResolver
JsonProperty resolver based on @JsonProperty annotation.
|
static class |
PropertyNameResolver.CompositePropertyNameResolver |
static class |
PropertyNameResolver.ConventionalBeanPropertyNameResolver |
Modifier and Type | Method and Description |
---|---|
String |
resolve(Field fromField)
Resolve the property name from this field.
|
String |
resolve(int parameterIdx,
Constructor<?> fromConstructor)
Resolve the parameter name on position parameterIdx in the constructor fromConstructor.
|
String |
resolve(int parameterIdx,
Method fromMethod)
Resolve the name of the parameter with parameterIdx as index in fromMethod method.
|
String |
resolve(Method fromMethod)
Resolve the property name from this method.
|
String resolve(int parameterIdx, Constructor<?> fromConstructor)
parameterIdx
- fromConstructor
- String resolve(int parameterIdx, Method fromMethod)
parameterIdx
- fromMethod
- String resolve(Field fromField)
fromField
- - the field to use for name resolution.Copyright © 2019. All rights reserved.