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

com.github.bloodshura.ignitium.cfg.json.mapping.annotation.Mapped Maven / Gradle / Ivy

Go to download

A collection of configuration and serialization readers and writers, like JSON, internationalization (I18n), and CSV.

There is a newer version: 1.0.1
Show newest version
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 deserializer() default ValueMapper.class;

	boolean excluded() default false;

	@Nonnull String name() default "";

	boolean nameIgnoresCase() default false;

	boolean optional() default false;

	Class serializer() default ValueMapper.class;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy