I have such input:
{
Abc: "1",
BcD: "2",
...
klm: "3",
ZXC: "4"
}
I want to get output after transform like this:
{
abc: "1",
bcD: "2",
...
klm: "3",
zXC: "4"
}
How I can do that? Have been tried like that:
%dw 1.0
%output application/json
---
{
($$) replace /^([A-Z])/ with lower $$[1] : $
}
but getting error:
question from:https://stackoverflow.com/questions/65952527/is-it-posible-in-dataweaver-1-0-decapitalise-first-letter-in-key-name-not-valueThere is no variable named '$$'