SerializationFactory.Companion
Keywords: net.corda.core.serialization.SerializationFactory.Companion class
Date: 2023-09-18

net.corda.core.serialization

## Class SerializationFactory.Companion

- net.corda.core.serialization.SerializationFactory.Companion

- Enclosing class:
    SerializationFactory

      public static class SerializationFactory.Companion

- - ### Method Detail

    - #### getDefaultFactory

          @NotNull
          public SerializationFactory getDefaultFactory()

      A default factory for serialization/deserialization, taking into account the `currentFactory` if set.

      See Also:
        `currentFactory`

    - #### getCurrentFactory

          @Nullable
          public SerializationFactory getCurrentFactory()

      If there is a need to nest serialization/deserialization with a modified context during serialization or deserialization, this will return the current factory used to start serialization/deserialization.