estonlabs.cxtl.common.stream.managed.AbstractInboundDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxtl Show documentation
Show all versions of cxtl Show documentation
CXTL – Crypto eXchange Trading Library
package estonlabs.cxtl.common.stream.managed;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.jayway.jsonpath.JsonPath;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import net.minidev.json.JSONArray;
import java.io.IOException;
import java.util.List;
import java.util.Map;
/**
* This class can deserialize a Json message to an Inbound message based on a value of one of the nodes
* The value of the node is mapped to a Type in a Map
* @param
*/
public abstract class AbstractInboundDeserializer extends JsonDeserializer