parse Timeline Edits
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)
Content copied to clipboard
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)
Content copied to clipboard