Package io.sentry
Interface ObjectReader
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
JsonObjectReader,MapObjectReader
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic @Nullable DatedateOrNull(@Nullable String dateString, @NotNull ILogger logger) voidendArray()voidbooleanhasNext()boolean@Nullable Boolean@Nullable DatenextDateOrNull(ILogger logger) double@Nullable Doublefloat@Nullable FloatintnextInt()@Nullable Integer<T> @Nullable List<T>nextListOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) longnextLong()@Nullable LongnextMapOfListOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) nextMapOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) @NotNull StringnextName()voidnextNull()@Nullable Object<T> TnextOrNull(@NotNull ILogger logger, @NotNull JsonDeserializer<T> deserializer) @Nullable String@Nullable TimeZonenextTimeZoneOrNull(ILogger logger) void@NotNull JsonTokenpeek()voidsetLenient(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
-