cedar-policy-cli 4.10.0

CLI interface for the Cedar Policy language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# JSON formatted policies

The Cedar policy CLI also supports using policies in the JSON policy format.
See the [Cedar language reference](https://docs.cedarpolicy.com/policies/json-format.html) for a detailed description of this format.

In general, you can select between the Cedar and JSON formats using `--policy-format`.
For example, we can check if a JSON format policy parses:

```bash
cedar check-parse --policy-format json \
    --policies policy.cedar.json
```