All Superinterfaces:
IProblemHandler
All Known Implementing Classes:
DefaultJsonProblemHandler

public interface IJsonProblemHandler extends IProblemHandler
  • Method Details

    • handleUnknownProperty

      boolean handleUnknownProperty(@NonNull IBoundDefinitionModelComplex definition, @Nullable IBoundObject parentItem, @NonNull String fieldName, @NonNull com.fasterxml.jackson.core.JsonParser parser) throws IOException
      Callback used to handle a JSON property that is unknown to the model being parsed.
      Parameters:
      definition - the bound class currently describing the data being parsed
      parentItem - the Java object for the parentDefinition
      fieldName - the unknown JSON field name
      parser - the JSON reader context used for parsing
      Returns:
      true if the attribute was handled by this method, or false otherwise
      Throws:
      IOException - if an error occurred while handling the unrecognized data