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

com.alibaba.fastjson2.adapter.jackson.databind.annotation.JsonDeserialize Maven / Gradle / Ivy

The newest version!
package com.alibaba.fastjson2.adapter.jackson.databind.annotation;

import com.alibaba.fastjson2.adapter.jackson.databind.JsonDeserializer;
import com.alibaba.fastjson2.adapter.jackson.databind.KeyDeserializer;
import com.alibaba.fastjson2.adapter.jackson.databind.util.Converter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface JsonDeserialize {
    Class using()
            default JsonDeserializer.None.class;

    Class keyUsing()
            default KeyDeserializer.None.class;

    Class contentUsing()
            default JsonDeserializer.None.class;

    Class converter() default Converter.None.class;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy