parse
Parses the given file into a TimelineData object using default configuration.
Return
The parsed TimelineData object.
Parameters
The JSON file of timeline data to be parsed.
Throws
if the file does not exist.
if the JSON format is invalid.
if there's an error reading the file.
Parses the given file into a TimelineData object with custom configuration.
Return
The parsed TimelineData object.
Parameters
The JSON file of timeline data to be parsed.
Configuration options for parsing.
Throws
if the file does not exist.
if the JSON format is invalid.
if there's an error reading the file.
Parses the given input stream into a TimelineData object using default configuration.
Return
The parsed TimelineData object.
Parameters
The input stream of JSON data to be parsed.
Throws
if the JSON format is invalid.
if there's an error reading the input stream.
Parses the given input stream into a TimelineData object with custom configuration.
Return
The parsed TimelineData object.
Parameters
The input stream of JSON data to be parsed.
Configuration options for parsing.
Throws
if the JSON format is invalid.
if there's an error reading the input stream.
Parses the given buffered source into a TimelineData object using default configuration.
Return
The parsed TimelineData object.
Parameters
The buffered source of JSON data to be parsed.
Throws
if the JSON format is invalid.
if there's an error reading the buffered source.
Parses the given buffered source into a TimelineData object with custom configuration.
Return
The parsed TimelineData object.
Parameters
The buffered source of JSON data to be parsed.
Configuration options for parsing.
Throws
if the JSON format is invalid.
if there's an error reading the buffered source.