Vector animations are a JSON based file format that can be used on any platform and device. They are small files that can scale up or down without loss of quality. They work perfectly in apps and web pages and their small file size significantly increases download speed.
All the animations on my Home and About Me Pages are Vector animations. The heaviest of these (Rocket ship) is only 150k.
JSON files are ideal for use as small animated icons: