With Logic Apps, you can work with multiple content types, such as JSON, XML, Base64, and more. Logic Apps has built-in functions that are used within workflow expressions for conversion, transformation, and translation. For example, you can convert strings such as JSON and XML to @json() and @xml() workflow function expressions.
The following table displays the various content types along with casting types. You can also combine these content type functions to translate messages in your desired format:
Function |
Cast operations |
json() |
Translates data to application/JSON |
xml() |
Translates data to application/XML |
binary() |
Translates data to application/octet-stream |