toJSON
The toJSON() method of the MediaDeviceInfo interface returns a JSON-serializable plain object representing the MediaDeviceInfo object.
The toJSON() method of the MediaDeviceInfo interface returns a JSON-serializable plain object representing the MediaDeviceInfo object.