Interface PropertySerialization<T>

Type Parameters:
T - the type of the property.

public interface PropertySerialization<T>
An interface allowing a PropertyModel to determine if a value should be serialized.
Since:
3.5
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     
    boolean
    Determines if a value should be serialized
  • Method Details

    • shouldSerialize

      boolean shouldSerialize(T value)
      Determines if a value should be serialized
      Parameters:
      value - the value to check
      Returns:
      true if the value should be serialized
    • inline

      default boolean inline()
      Returns:
      true if serialized inline
      Since:
      4.6