Class AgentProtocolMapper
java.lang.Object
nl.pim16aap2.lightkeeper.protocol.AgentProtocolMapper
Creates consistently configured JSON mappers for both endpoints of the LightKeeper agent wire protocol.
-
Method Summary
Modifier and TypeMethodDescriptionstatic tools.jackson.databind.ObjectMappercreate()Creates a mapper that rejects null primitive values while tolerating additive unknown response fields.
-
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.
-