fastjson
fastjson copied to clipboard
@JSONField Annotation cannot be applied to Annotation
I found that the com.fasterxml.jackson.annotation.JsonIgnore
can be applied to an Annotation, which makes the composition of annotations possible.
It would be useful while defining custom annotations, for example, compositing both fastjson's @JSONField and jackson's @JsonIgnore
I wonder if fastjson could add this feature in the near feature.
that's a good idea to add jsonignore feature
3 years have passed, still not added
突然发现@JsonIgnore注解起作用了,我的属性序列化时被忽略了,导致出现bug了,唉~~~~~~~