Package io.sentry
Interface ObjectReader
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
JsonObjectReader
,MapObjectReader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static @Nullable Date
dateOrNull
(@Nullable String dateString, @NotNull ILogger logger) void
endArray()
void
boolean
hasNext()
boolean
@Nullable Boolean
@Nullable Date
nextDateOrNull
(ILogger logger) double
@Nullable Double
float
@Nullable Float
int
nextInt()
@Nullable Integer
<T> @Nullable List<T>
nextListOrNull
(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) long
nextLong()
@Nullable Long
nextMapOfListOrNull
(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) nextMapOrNull
(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) @NotNull String
nextName()
void
nextNull()
@Nullable Object
<T> T
nextOrNull
(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) @Nullable String
@Nullable TimeZone
nextTimeZoneOrNull
(ILogger logger) void
@NotNull JsonToken
peek()
void
setLenient
(boolean lenient) void
-
Method Details
-
dateOrNull
-
nextUnknown
-
nextListOrNull
@Nullable <T> @Nullable List<T> nextListOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws IOException - Throws:
IOException
-
nextMapOrNull
@Nullable <T> @Nullable Map<String,T> nextMapOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws IOException - Throws:
IOException
-
nextMapOfListOrNull
@Nullable <T> @Nullable Map<String,List<T>> nextMapOfListOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws IOException - Throws:
IOException
-
nextOrNull
@Nullable <T> T nextOrNull(@NotNull @NotNull ILogger logger, @NotNull @NotNull JsonDeserializer<T> deserializer) throws Exception - Throws:
Exception
-
nextDateOrNull
- Throws:
IOException
-
nextTimeZoneOrNull
- Throws:
IOException
-
nextObjectOrNull
- Throws:
IOException
-
peek
- Throws:
IOException
-
nextName
- Throws:
IOException
-
beginObject
- Throws:
IOException
-
endObject
- Throws:
IOException
-
beginArray
- Throws:
IOException
-
endArray
- Throws:
IOException
-
hasNext
- Throws:
IOException
-
nextInt
- Throws:
IOException
-
nextIntegerOrNull
- Throws:
IOException
-
nextLong
- Throws:
IOException
-
nextLongOrNull
- Throws:
IOException
-
nextString
- Throws:
IOException
-
nextStringOrNull
- Throws:
IOException
-
nextBoolean
- Throws:
IOException
-
nextBooleanOrNull
- Throws:
IOException
-
nextDouble
- Throws:
IOException
-
nextDoubleOrNull
- Throws:
IOException
-
nextFloat
- Throws:
IOException
-
nextFloatOrNull
- Throws:
IOException
-
nextNull
- Throws:
IOException
-
setLenient
void setLenient(boolean lenient) -
skipValue
- Throws:
IOException
-