com.urbanairship.api.push.parse.notification.adm.ADMTemplateDeserializer 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.adm;
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.adm.ADMTemplate;
import java.io.IOException;
public class ADMTemplateDeserializer extends JsonDeserializer {
@Override
public ADMTemplate deserialize(JsonParser parser, DeserializationContext context) throws IOException {
return parser.readValueAs(ADMTemplate.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy