Interface AdapterFactory


public interface AdapterFactory
Factory that is service loaded to create the adapter for underlying json parsing and generation.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(boolean serializeNulls, boolean serializeEmpty, boolean failOnUnknown)
    Create the adapter to use for the underlying json parsing and generation.
  • Method Details

    • create

      JsonStreamAdapter create(boolean serializeNulls, boolean serializeEmpty, boolean failOnUnknown)
      Create the adapter to use for the underlying json parsing and generation.
      Parameters:
      serializeNulls - The default setting for serializing nulls
      serializeEmpty - The default setting for serializing empty arrays
      failOnUnknown - The default setting for fail when deserializing unknown properties
      Returns:
      The adapter to use