I’m working on an application that uses the virtualmin api and on the docs page (http://www.virtualmin.com/documentation/developer/http) it says you can pass json=1 to get the output of the command in json. When I try this, the command returns “Unknown option --json\n\n”
Cool, I’ll hold off on what I’m doing then if it is going to be released that soon. Having the results in json format will make it a lot easier to work with.