use of org.n52.svalbard.decode.JsonDecoderKey in project arctic-sea by 52North.
the class JSONDecoder method getDecoder.
private <T> Decoder<T, JsonNode> getDecoder(Class<T> type) throws DecodingException {
JsonDecoderKey key = new JsonDecoderKey(type);
Decoder<T, JsonNode> decoder = getDecoder(key);
if (decoder == null) {
throw new NoDecoderForKeyException(key);
}
return decoder;
}
Aggregations