Rabbit-R1/original r1/java/sources/io/sentry/ISerializer.java
2024-05-21 17:08:36 -04:00

23 lines
686 B
Java

package io.sentry;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
import java.util.Map;
/* loaded from: classes3.dex */
public interface ISerializer {
<T> T deserialize(Reader reader, Class<T> cls);
<T, R> T deserializeCollection(Reader reader, Class<T> cls, JsonDeserializer<R> jsonDeserializer);
SentryEnvelope deserializeEnvelope(InputStream inputStream);
String serialize(Map<String, Object> map) throws Exception;
void serialize(SentryEnvelope sentryEnvelope, OutputStream outputStream) throws Exception;
<T> void serialize(T t, Writer writer) throws IOException;
}