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
    boolean deserializeJSONFromFile​(java.lang.String fileName, Any destination, ErrorStatus errorStatus)
    Deserialize an OTIO JSON file and get the result in an Any object.
    boolean deserializeJSONFromString​(java.lang.String input, Any destination, ErrorStatus errorStatus)
    Deserialize an OTIO JSON String and get the result in an Any object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 String
      destination - JSON will be deserialized into this object
      errorStatus - 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 file
      destination - JSON will be deserialized into this object
      errorStatus - errorStatus to report any error while deserialization
      Returns:
      was the JSON deserialized successfully?