Skip to content

Commit 12a7ab3

Browse files
Merge branch 'us474076-15' of https://github.com/TimShererWithAquent/azure-docs-pr into us474076-15
2 parents 9afe485 + cffc7ae commit 12a7ab3

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

articles/logic-apps/logic-apps-content-type.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,17 @@ The following steps describe how the expression works without casting or convers
4848

4949
If you work with JSON data that doesn't use a `Content-Type` header, you can manually convert that data to JSON by using the [json() function](workflow-definition-language-functions-reference.md#json), for example:
5050

51-
`@json(triggerBody())['client']['animal-type']`
51+
`json(triggerBody())['client']['animal-type']`
52+
53+
1. The `triggerBody()` function gets the `body` object from the workflow's trigger output. This object is typically a JSON object.
54+
55+
The source for the `body` object originates from the inbound HTTP request or event received by the workflow trigger.
56+
57+
1. The `json()` function explicitly parses the `body` object returned from the `triggerBody()` function as a JSON object.
58+
59+
This behavior is useful, for example, when the trigger body is a string that requires handling as JSON.
60+
61+
The remaining expression behavior is similar to the previous example.
5262

5363
### Create tokens for JSON properties
5464

0 commit comments

Comments
 (0)