com.github.bloodshura.ignitium.cfg.json.mapping.annotation.Mapped Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ignitium-cfg Show documentation
Show all versions of ignitium-cfg Show documentation
A collection of configuration and serialization readers and writers, like JSON, internationalization (I18n), and CSV.
package com.github.bloodshura.ignitium.cfg.json.mapping.annotation;
import com.github.bloodshura.ignitium.cfg.json.mapping.ValueMapper;
import javax.annotation.Nonnull;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.PARAMETER })
public @interface Mapped {
Class extends ValueMapper> deserializer() default ValueMapper.class;
boolean excluded() default false;
@Nonnull String name() default "";
boolean nameIgnoresCase() default false;
boolean optional() default false;
Class extends ValueMapper> serializer() default ValueMapper.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy