Interface AdapterFactory


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

      • 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