vendredi 24 avril 2020

Jackson's `Visibility.Any` performance

Using Jackson with Lombok's @Accessors(fluent=true) requires to add @JsonAutoDetect(Visibility.Any) annotation:

@Data
@NoArgsConstructor
@Accessors(fluent=true)
public class Pojo{
  private String fieldOne;
  private String fieldTwo;
}

I am curious of the performance of Visibilty.Any. Does it use reflection or compile time hooks are added?





Aucun commentaire:

Enregistrer un commentaire