I am looking for an implementation of the python library https://pypi.org/project/stringcase/ in Julia.
I found the following packages, but they seem all a bit outdated:
Is there an up-to-date Julia library for converting strings to snake_case, CamelCase etc?
Edit: I have the following use-case:
I receive a JSON from a C# framework that uses CamelCase naming convention, which I load into a DataFrame.
The resulting DataFrame has column names like: timeStamp, askBestVolume, askBest30MWPrice. I'd like to convert the column names to the snake_case
naming convention, i.e.
"timeStamp" => "time_stamp"
"askBestVolume" => "ask_best_volume"
"askBest30MWPrice" => "ask_best_30MW_price"
...
The first two examples are rather simple and should be covered by a basic snake_case(name_in_camel_case::String) function. The third example would require defining "reserved words" that are ignored in the conversion.