bazaarvoice / jolt

JSON to JSON transformation library written in Java.
Apache License 2.0
1.56k stars 329 forks source link

How to handle Camel Case Sensitivity or Case Change in Jolt #251

Closed mangalapalli closed 6 years ago

mangalapalli commented 8 years ago

HI Team,

How can we handle string case(Upper case to lower Case, vise versa) changes in Jolt . i would request suggest me the available options in Jolt for the above one.

milosimpson commented 8 years ago

camelCasing, no.

toUpper and toLower, yes.

Need to use the latest release and the "beta" modify transforms.

mangalapalli commented 8 years ago

Is it possible for ignore case in Jolt Spec?

milosimpson commented 8 years ago

No, since Jolt operates on Map<String,Object> and Map is case sensitive.

Sounds like a feature request, for a new wildcard, kinda like "rating-*".

barbaros74 commented 7 months ago

Dear @mangalapalli ; there exists such a workaround currently on SO -> https://stackoverflow.com/a/75399297/5841306 , keep jolting !