Question: I'm trying to use Lottie Library in jetpack compose  

For animating image, I made animating svg file.  

But in <https://lottiefiles.com/svg-to-lottie>, the animating svg file converted to static json file which I didn't intent.  

How could I convert animating svg file to animating json file?

Answer: 
You can use [this](https://javiercbk.github.io/json_to_dart/) tool to convert your json to dart. It also supports null safety and complex lists.
just go to browser and type quick type that is the best for converting json to any model class.copy your json code and paste it over there it will generate your model class.