![JAR search and dependency download from the Maven repository](/logo.png)
org.codehaus.jackson.map.annotation.JsonProperty Maven / Gradle / Ivy
Go to download
Data Mapper package is a high-performance data binding package
built on Jackson JSON processor
package org.codehaus.jackson.map.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation that can be used to associate annotated method with
* logical property name. Usually only used if the method does not
* conform to expected "Bean" naming convention (including cases where
* pluralization should be added or removed).
*
* Note that the actual role of the method (accessor ["getter"] or
* mutator ["setter"]) is determined based on signature.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface JsonProperty
{
/**
* Name of the property the annotated method should be associated with.
*/
public String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy