Class AgentProtocolMapper

java.lang.Object
nl.pim16aap2.lightkeeper.protocol.AgentProtocolMapper

public final class AgentProtocolMapper extends Object
Creates consistently configured JSON mappers for both endpoints of the LightKeeper agent wire protocol.
  • Method Summary

    Modifier and Type
    Method
    Description
    static tools.jackson.databind.ObjectMapper
    Creates a mapper that rejects null primitive values while tolerating additive unknown response fields.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static tools.jackson.databind.ObjectMapper create()
      Creates a mapper that rejects null primitive values while tolerating additive unknown response fields.
      Returns:
      A new mapper configured for the LightKeeper wire protocol.