All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.urbanairship.api.push.parse.notification.web.WebTemplateDeserializer Maven / Gradle / Ivy

There is a newer version: 9.4.2
Show newest version
package com.urbanairship.api.push.parse.notification.web;

import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.urbanairship.api.push.model.notification.web.WebTemplate;

import java.io.IOException;

public class WebTemplateDeserializer extends JsonDeserializer {
    @Override
    public WebTemplate deserialize(JsonParser parser, DeserializationContext context) throws IOException {
        return parser.readValueAs(WebTemplate.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy