Class NodeSerialization

java.lang.Object
com.github.siroshun09.configapi.format.jackson.NodeSerialization

public final class NodeSerialization extends Object
A class that provides serialization of MapNode for Jackson.
  • Field Details

    • SERIALIZER

      public static final com.fasterxml.jackson.databind.JsonSerializer<MapNode> SERIALIZER
      A JsonSerializer for MapNode.
    • DESERIALIZER

      public static final com.fasterxml.jackson.databind.JsonDeserializer<MapNode> DESERIALIZER
      A JsonDeserializer for MapNode.
  • Constructor Details

    • NodeSerialization

      public NodeSerialization()
  • Method Details

    • createModule

      @NotNull public static @NotNull com.fasterxml.jackson.databind.module.SimpleModule createModule()
      Creates a new SimpleModule that has SERIALIZER and DESERIALIZER.
      Returns:
      a new SimpleModule that has SERIALIZER and DESERIALIZER