public abstract class JsonPojo
extends java.lang.Object
Constructor and Description |
---|
JsonPojo() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.Integer |
getIntValue(com.fasterxml.jackson.databind.JsonNode node,
java.lang.String key) |
protected static java.lang.Integer |
getIntValue(com.fasterxml.jackson.databind.JsonNode node,
java.lang.String key,
java.lang.Integer defaultValue) |
protected static java.lang.String |
getValue(com.fasterxml.jackson.databind.JsonNode node,
java.lang.String key) |
abstract com.fasterxml.jackson.databind.JsonNode |
toJson() |
protected static void |
writeNumberIf(com.fasterxml.jackson.databind.node.ObjectNode node,
java.lang.String key,
java.lang.Integer value) |
protected static void |
writeObjectIf(com.fasterxml.jackson.databind.node.ObjectNode node,
java.lang.String key,
JsonPojo o) |
protected static void |
writeStringIf(com.fasterxml.jackson.databind.node.ObjectNode node,
java.lang.String key,
java.lang.String value) |
protected static java.lang.String getValue(com.fasterxml.jackson.databind.JsonNode node, java.lang.String key)
protected static java.lang.Integer getIntValue(com.fasterxml.jackson.databind.JsonNode node, java.lang.String key)
protected static java.lang.Integer getIntValue(com.fasterxml.jackson.databind.JsonNode node, java.lang.String key, java.lang.Integer defaultValue)
public abstract com.fasterxml.jackson.databind.JsonNode toJson()
protected static void writeObjectIf(com.fasterxml.jackson.databind.node.ObjectNode node, java.lang.String key, JsonPojo o)
protected static void writeStringIf(com.fasterxml.jackson.databind.node.ObjectNode node, java.lang.String key, java.lang.String value)
protected static void writeNumberIf(com.fasterxml.jackson.databind.node.ObjectNode node, java.lang.String key, java.lang.Integer value)