com.alibaba.fastjson.support.spring.annotation

Annotation Type FastJsonView


  • @Target(value=METHOD)
     @Retention(value=RUNTIME)
     @Documented
    public @interface FastJsonView
     一个放置到 Controller方法上的注解.
     设置返回对象针对某个类需要排除或者包括的字段
     例如:
     @FastJsonView(exclude = {@FastJsonFilter(clazz = JSON.class,props = {"data"})})
    
     
    Author:
    yanquanyu, liuming
    • Element Detail

Copyright © 2012–2021 Alibaba Group. All rights reserved.