Interface FieldMapper.SerializerCheck<T>

Enclosing class:
FieldMapper

public static interface FieldMapper.SerializerCheck<T>
Check on whether or not a parameter should be serialized
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(boolean includeDefaults, boolean isConfigured, T value)
    Check on whether or not a parameter should be serialized
  • Method Details

    • check

      boolean check(boolean includeDefaults, boolean isConfigured, T value)
      Check on whether or not a parameter should be serialized
      Parameters:
      includeDefaults - if defaults have been requested
      isConfigured - if the parameter has a different value to the default
      value - the parameter value
      Returns:
      true if the value should be serialized