python-lottie  0.6.10+dev4166086
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.base.LottieBase Class Reference

Base class for Lottie JSON objects bindings. More...

Inheritance diagram for lottie.objects.base.LottieBase:
[legend]

Public Member Functions

def to_dict (self)
 Serializes into a JSON object fit for the Lottie format. More...
 
def load (cls, lottiedict)
 Loads from a JSON object. More...
 
def clone (self)
 Returns a copy of the object. More...
 

Detailed Description

Base class for Lottie JSON objects bindings.

Definition at line 8 of file base.py.

Member Function Documentation

◆ clone()

def lottie.objects.base.LottieBase.clone (   self)

◆ load()

def lottie.objects.base.LottieBase.load (   cls,
  lottiedict 
)

◆ to_dict()

def lottie.objects.base.LottieBase.to_dict (   self)

Serializes into a JSON object fit for the Lottie format.

Reimplemented in lottie.objects.base.CustomObject, lottie.objects.base.LottieObject, and lottie.objects.base.LottieEnum.

Definition at line 12 of file base.py.


The documentation for this class was generated from the following file: