Svg Vs Json. You could use jq to encode the contents of the svg file as a JSON string eg. JSON can use arrays.
Notice to SVG format - You must place two GeoItems inside a Prognoz MetaInfo element as a direct child of the element at the root of your. In JSON array values must be of type string number object array boolean or null. XML has to be parsed with an XML parser.
As XML files SVG images can be created and edited with any text editor but are more often created with drawing software.
Convert image-jpeg to json convert image-png to json convert image-gif to json convert application-zip to json convert application-pdf to json. Thats why designers are using it more frequently. Mediasvg Of course you would probably want to use a more complex jq filter to embed the contents of the svg file in your JSON. In JSON array values must be of type string number object array boolean or null.