You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a little bit to the explanation of the `value` parameter to the JSON Compare analyzer to avoid an issue that tripped up a vendor team, @sgalsaleh , and I. This could probably be explained more clearly, but I wanted to get something out there.
Copy file name to clipboardExpand all lines: docs/source/analyze/json-compare.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The JSON compare analyzer is used to compare a JSON snippet with part or all of
11
11
12
12
**value**: (Required) JSON value to compare.
13
13
If the value matches the collected file, the outcome that has `when` set to `"true"` will be executed.
14
-
If a `when` expression is not specified, the `pass` outcome defaults to `"true"`.
14
+
If a `when` expression is not specified, the `pass` outcome defaults to `"true"`. This value _must_ be specified as a multi-line YAML string and any string values must be in double quotes (see the examples).
15
15
16
16
**path**: (Optional) Portion of the collected JSON file to compare against.
17
17
The default behavior is to compare against the entire collected file.
0 commit comments