# salt.pillar.cmd_json

Execute a command and read the output as JSON. The JSON data is then directly overlaid onto the minion's pillar data

`salt.pillar.cmd_json.` `ext_pillar`(minion_id, pillar, command)

  Execute a command and read the output as JSON

Current Salt release: 0.17.1

#### Previous topic

salt.pillar.virtkey

#### Next topic

salt.pillar.cmd_yaml

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd