Skip to content

Commit

Permalink
Add example of JSON pointers using array indexes.
Browse files Browse the repository at this point in the history
Add specific example using array indexes to show what expression is
allowed and what is not explicitly.

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
  • Loading branch information
kenfdev authored and tsandall committed Jun 19, 2019
1 parent c761f83 commit 4412102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/decision-logs.md
Expand Up @@ -137,4 +137,4 @@ There are a few restrictions on the JSON Pointers that OPA will erase:
* Pointers may be undefined. For example `/input/name/first` in the example
above would be undefined. Undefined pointers are ignored.
* Pointers must refer to object keys. Pointers to array elements will be treated
as undefined.
as undefined. For example `/input/emails/0/value` is allowed but `/input/emails/0` is not.

0 comments on commit 4412102

Please sign in to comment.