ImageCapture.DevicesJSON
------------------------

Queries list of devices as JSON.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImageCapture](component_ImageCapture.md) | [8.3](newinversion83.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "ImageCapture.DevicesJSON" { ; Filter } ) 

**MBS**( **"ImageCapture.DevicesJSON";** /\* Queries list of devices as JSON. \*/  
**$Filter**) /\* Optional; You can filter devices by passing criteria here.  
The filter string can contain camera, scanner, local, remote, bonjour, bluetooth or shared to only show those devices.e.g. "Camera, local" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Filter | You can filter devices by passing criteria here.   The filter string can contain camera, scanner, local, remote, bonjour, bluetooth or shared to only show those devices. | "Camera, local" | Optional |

### Result

Returns JSON or error.

### Description

Queries list of devices as JSON.  
The JSON includes names &amp; IDs of the devices.  
Please pass the index or UUIDs to the [ImageCapture.DeviceInfo](ImageCaptureDeviceInfo.md) function to query details.  
Keys include UUIDString, Name, persistentIDString, serialNumberString, locationDescription, index, remote and shared.  
### Examples

Check devices:

 MBS ( "ImageCapture.DevicesJSON" )  
### See also

- [ImageCapture.DeviceInfo](ImageCaptureDeviceInfo.md)
- [ImageCapture.Devices](ImageCaptureDevices.md)

### Release notes

- **Version 8.4**
    - Added alternateNames entry to [ImageCapture.DevicesJSON](http://www.mbsplugins.eu/ImageCaptureDevicesJSON.shtml) to list alternate names we found.
- **Version 8.3**
    - Added [ImageCapture.DevicesJSON](http://www.mbsplugins.eu/ImageCaptureDevicesJSON.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 8.4pr4](https://www.mbsplugins.de/archive/2018-08-21/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.3pr5](https://www.mbsplugins.de/archive/2018-07-10/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 26th June 2018 , last changed 26th June 2018

  
[ImageCapture.Devices](ImageCaptureDevices.md) - [ImageCapture.Download](ImageCaptureDownload.md)

[HTML Version](ImageCaptureDevicesJSON.shtml)