Package io.opentimeline.opentimelineio
Class Deserialization
java.lang.Object
io.opentimeline.opentimelineio.Deserialization
public class Deserialization
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Deserialization() -
Method Summary
Modifier and Type Method Description booleandeserializeJSONFromFile(java.lang.String fileName, Any destination, ErrorStatus errorStatus)Deserialize an OTIO JSON file and get the result in an Any object.booleandeserializeJSONFromString(java.lang.String input, Any destination, ErrorStatus errorStatus)Deserialize an OTIO JSON String and get the result in an Any object.
-
Constructor Details
-
Deserialization
public Deserialization()
-
-
Method Details
-
deserializeJSONFromString
public boolean deserializeJSONFromString(java.lang.String input, Any destination, ErrorStatus errorStatus)Deserialize an OTIO JSON String and get the result in an Any object.- Parameters:
input- JSON Stringdestination- JSON will be deserialized into this objecterrorStatus- errorStatus to report any error while deserialization- Returns:
- was the JSON deserialized successfully?
-
deserializeJSONFromFile
public boolean deserializeJSONFromFile(java.lang.String fileName, Any destination, ErrorStatus errorStatus)Deserialize an OTIO JSON file and get the result in an Any object.- Parameters:
fileName- path to JSON filedestination- JSON will be deserialized into this objecterrorStatus- errorStatus to report any error while deserialization- Returns:
- was the JSON deserialized successfully?
-