parseTimelineEdits

Parse JSON string to TimelineEdits object.

// Sample usage of parser to parse timeline edits JSON.
val parser = Parser()
val json: String = File("your-file.json").bufferedReader().readText()
val edits: TimelineEdits = parser.parseTimelineEdits(json)

fun parseTimelineEdits(bufferedSource: BufferedSource): TimelineEdits

Parse JSON buffered source to TimelineEdits object.

// Sample usage of parser to parse timeline edits JSON.
val parser = Parser()
val bufferedSource: BufferedSource = File("your-file.json").source().buffer()
val edits: TimelineEdits = parser.parseTimelineEdits(bufferedSource)