%dw 2.0
output application/json
---
{ "name" : upper("mulesoft") }
DataWeave
upper
upper(text: String): String
Returns the provided string in uppercase characters.
Parameters
Name | Description |
---|---|
|
The string to convert to uppercase. |
Example
This example converts lowercase characters to uppercase.
Source
Output
{ "name": "MULESOFT" }
JSON
upper(value: Null): Null
Helper function that enables upper
to work with a null
value.