Closed Yamakaky closed 2 years ago
This is not so easy to solve at the moment as the main and internally used format is XML.
The status-json.xsl was replaced by the publicstats interface. Therefore closing this ticket as it is about now legacy parts.
That makes it harder to handle that it should be. I suggest always generating a "sources" key as an array of objects (empty if no sources).
Also, I forgot to record it but at one time the generated json wasn't valid. Don't you wan't to use a json lib? It should solve this point easily.