com.urbanairship.api.push.parse.notification.web.WebTemplateDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Urban Airship Java client library
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