io.sentry.ISerializer Maven / Gradle / Ivy
package io.sentry;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.io.Writer;
import java.util.Map;
public interface ISerializer {
SentryEvent deserializeEvent(Reader reader);
Session deserializeSession(Reader reader);
SentryEnvelope deserializeEnvelope(InputStream inputStream);
void serialize(SentryEvent event, Writer writer) throws IOException;
void serialize(Session session, Writer writer) throws IOException;
void serialize(SentryEnvelope envelope, Writer writer) throws Exception;
String serialize(Map data) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy