org.optaplanner.persistence.jackson.api.score

## Class ScoreJacksonJsonSerializer<Score_ extends Score<Score_>>

- java.lang.Object
- - com.fasterxml.jackson.databind.JsonSerializer<Score_>
  - - org.optaplanner.persistence.jackson.api.score.ScoreJacksonJsonSerializer<Score_>

- All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.ser.ContextualSerializer

  Deprecated.
  in favor of `HardSoftScoreJacksonJsonSerializer` and variants.

      @Deprecated
      public class ScoreJacksonJsonSerializer<Score_ extends Score<Score_>>
      extends com.fasterxml.jackson.databind.JsonSerializer<Score_>
      implements com.fasterxml.jackson.databind.ser.ContextualSerializer

  This class will be removed in 8.0.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

      `com.fasterxml.jackson.databind.JsonSerializer.None`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScoreJacksonJsonSerializer()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.fasterxml.jackson.databind.JsonSerializer<?>` | `createContextual(com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.BeanProperty property)` Deprecated.
    `void` | `serialize(Score_ score, com.fasterxml.jackson.core.JsonGenerator generator, com.fasterxml.jackson.databind.SerializerProvider serializers)` Deprecated.

    - ### Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

      `acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ScoreJacksonJsonSerializer

          public ScoreJacksonJsonSerializer()

      Deprecated.

  - ### Method Detail

    - #### createContextual

          public com.fasterxml.jackson.databind.JsonSerializer<?> createContextual(com.fasterxml.jackson.databind.SerializerProvider provider,
                                                                                   com.fasterxml.jackson.databind.BeanProperty property)
                                                                            throws com.fasterxml.jackson.databind.JsonMappingException

      Deprecated.
      Specified by:
        `createContextual` in interface `com.fasterxml.jackson.databind.ser.ContextualSerializer`
      Throws:
        `com.fasterxml.jackson.databind.JsonMappingException`

    - #### serialize

          public void serialize(Score_ score,
                                com.fasterxml.jackson.core.JsonGenerator generator,
                                com.fasterxml.jackson.databind.SerializerProvider serializers)
                         throws IOException

      Deprecated.
      Specified by:
        `serialize` in class `com.fasterxml.jackson.databind.JsonSerializer<Score_ extends Score<Score_>>`
      Throws:
        `IOException`

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.