Convert responses from ami to JSON

Hi,

I would like to receive the information of the AMI messages in JSON format. Is there any way to do this?
something similar like http://localhost:8088/amxml?Action=QueueStatus,
but with json

thanks in advance!!!

There is no interface for AMI for JSON.

Fire the action from php or python and result save it in an array an use a function to convert to json, in case of php you can use json_encode()