Xml Vs Svg. SVG files are Scalable Vector Graphics Files that use XML based text format for describing the appearance of image. JSON is Unlike XML Because.
JSON doesnt use end tag. As a standalone format or when mixed with other XML it uses the XML syntax. But it describes a picture.
SVG file is already in XML format.
JSON is quicker to read and write. This type of graphic file can be opened in any browser. An SVG image can be compressed or stretched without loss of image quality. SVG stands for Scalable Vector Graphics.