All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.jackson.map.annotation.JsonIgnore Maven / Gradle / Ivy

Go to download

Data Mapper package is a high-performance data binding package built on Jackson JSON processor

There is a newer version: 1.9.13
Show newest version
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;

/**
 * Marker annotation similar to
 * {@link javax.xml.bind.annotation.XmlTransient} that indicates that
 * the annotated method is to be ignored by introspection-based
 * serialization and deserialization functionality. For example,
 * a "getter" method that would otherwise denote
 * a property (like, say, "getValue" to suggest property "value")
 * to serialize, would be ignored and no such property would
 * be output (unless another annotation defines alternative method
 * to use).
 *

* Note that in case there are both accessors ("getter") and * mutators ("setter") for a property, annotations are handled * separately: so it is possible that a property will get serialized * (if there is a getter) but not deserialized (if matching setter * is marked to be ignored). */ @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface JsonIgnore { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy