
com.alibaba.fastjson.support.spring.annotation.FastJsonView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastjson Show documentation
Show all versions of fastjson Show documentation
Fastjson is a JSON processor (JSON parser + JSON generator) written in Java
The newest version!
package com.alibaba.fastjson.support.spring.annotation;
import java.lang.annotation.*;
/**
*
* 一个放置到 {@link org.springframework.stereotype.Controller Controller}方法上的注解.
* 设置返回对象针对某个类需要排除或者包括的字段
* 例如:
* @FastJsonView(exclude = {@FastJsonFilter(clazz = JSON.class,props = {"data"})})
*
*
* @author yanquanyu
* @author liuming
*/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FastJsonView {
FastJsonFilter[] include() default {};
FastJsonFilter[] exclude() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy