Package-level declarations

Types

Link copied to clipboard
class FileNotFoundException(path: String, cause: Throwable? = null) : ParseException

Exception thrown when the input file is not found or cannot be accessed.

Link copied to clipboard
class InvalidFormatException(message: String, cause: Throwable? = null) : ParseException

Exception thrown when the JSON format is invalid or cannot be parsed.

Link copied to clipboard
sealed class ParseException : Exception

Base exception for all parser-related errors.

Link copied to clipboard
class ParseIOException(message: String, cause: Throwable? = null) : ParseException

Exception thrown when an IO error occurs during parsing.

Link copied to clipboard
object Parser

An object responsible for parsing JSON data from various sources into a TimelineData object.

Link copied to clipboard
data class ParserConfig(val enableLazyLoading: Boolean = true, val validateInput: Boolean = true)

Configuration for the timeline parser with sensible defaults.

Link copied to clipboard
sealed class ParseResult

Sealed class representing the result of a parsing operation.

Link copied to clipboard
class ValidationException(message: String, cause: Throwable? = null) : ParseException

Exception thrown when the input validation fails.