Optionally output JSON from the API
|Category:||Core & System|
In order to facilitate easier client writing (and for better efficiency on large lists of VMs), I would like to optionally receive data from the API In JSON instead of XML. I understand that the current VM data is stored in a NoSQL-like fashion as a pre-built XML, maybe an option would be to store the JSON in a seperate column and also prebuild it on every update together with the XML? The data is in memory and structured correctly at the time the XML is written, so it might be very simple to convert it to JSON and save it together with the XML.
#2 Updated by Ruben S. Montero over 6 years ago
- Tracker changed from Feature to Backlog
- Status changed from New to Pending
In the meantime, you have a set of *JSON classes in the Ruby API that deals with it.