Interface JsonConfiguration

All Known Implementing Classes:
JacksonConfiguration

@Internal public interface JsonConfiguration
Base interface for application-level json configuration.
Since:
3.1
Author:
Jonas Konrad
  • Method Details

    • isAlwaysSerializeErrorsAsList

      boolean isAlwaysSerializeErrorsAsList()
      Whether _embedded.errors should always be serialized as list. If set to false, _embedded.errors with 1 element will be serialized as an object.
      Returns:
      True if _embedded.errors should always be serialized as list.
    • getArraySizeThreshold

      int getArraySizeThreshold()
      Returns:
      The array size threshold to use