Parser

class Parser

A class responsible for parsing JSON data from a file into a TimelineData object.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun parse(file: File): TimelineData

Parses the given file into a TimelineData object.

suspend fun parse(inputStream: InputStream): TimelineData

Parses the given input stream into a TimelineData object.

suspend fun parse(bufferedSource: BufferedSource): TimelineData

Parses the given buffered source into a TimelineData object.