com.urbanairship.api.channel.model.ChannelModelObject 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.channel.model;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.urbanairship.api.channel.parse.ChannelObjectMapper;
import com.urbanairship.api.common.model.APIModelObject;
public class ChannelModelObject extends APIModelObject {
private final ObjectMapper MAPPER = ChannelObjectMapper.getInstance();
@Override
public String toJSON() {
try {
return MAPPER.writeValueAsString(this);
} catch (Exception e) {
return toJSON(e);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy