Annotation Type JohnzonDeduplicateObjects


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface JohnzonDeduplicateObjects
    Mark an Object to leverage object deduplication without having to explicitly enable it in the Mapper or JsonB Builder. The feature only gets activated if this annotation is available on the root object to be serialised/deserialised.
    See Also:
    MapperBuilder.setDeduplicateObjects(Boolean)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value  
    • Element Detail

      • value

        boolean value
        Default:
        true