Flex Gateway新着情報
Governance新着情報
Monitoring API ManagerFlex Gateway新着情報
Governance新着情報
Monitoring API Manager2.x
Mule 4
3.9
1.1
2.x
1.2
7.x
文字列内のアンダースコアに基づいて、キャメルケースの文字列を返します。
文字列の先頭のアンダースコアを含め、すべてのアンダースコアを削除します。
名前 | 説明 |
---|---|
|
キャメルケースに変換する文字列。 |
次の例では、アンダースコアを含む文字列をキャメルケースに変換します。
%dw 2.0
import * from dw::core::Strings
output application/json
---
{
"a" : camelize("customer_first_name"),
"b" : camelize("_name_starts_with_underscore")
}
DataWeave
{
"a": "customerFirstName",
"b": "nameStartsWithUnderscore"
}
JSON
camelize
を null
値に使用できるようにするヘルパー関数。