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