API json results

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”

Is this feature not complete yet?


This will be coming in Virtualmin 3.72, hopefully available in a day or two. I updated the documentation before the feature was released, sorry!

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.