Re: [text.CaseUtils] adding support for snake_case and kebab-case

2019-12-08 Thread sebb
On Sat, 7 Dec 2019 at 17:28, Bryan Rickman wrote: > I was doing conversions for JSON properties which often do use different > cases. My conversions were from camelCase to the other cases, not delimited > words. If that isn't a good fit, I won't bother, but I don't mind adding it > if others thin

Re: [text.CaseUtils] adding support for snake_case and kebab-case

2019-12-07 Thread Rob Spoor
On 07/12/2019 18:19, sebb wrote: On Sat, 7 Dec 2019 at 17:05, Bryan Rickman wrote: I recently used the text.CaseUtils for converting to camelCase and PascalCase. I also needed to convert to snake_case and kebab-case, and ended up writing my own code for that (I wasn't really a big fan of other

Re: [text.CaseUtils] adding support for snake_case and kebab-case

2019-12-07 Thread Bryan Rickman
I was doing conversions for JSON properties which often do use different cases. My conversions were from camelCase to the other cases, not delimited words. If that isn't a good fit, I won't bother, but I don't mind adding it if others think it could be useful. On Sat, Dec 7, 2019, 12:20 PM sebb w

Re: [text.CaseUtils] adding support for snake_case and kebab-case

2019-12-07 Thread sebb
On Sat, 7 Dec 2019 at 17:05, Bryan Rickman wrote: > I recently used the text.CaseUtils for converting to camelCase and > PascalCase. I also needed to convert to snake_case and kebab-case, and > ended up writing my own code for that (I wasn't really a big fan of other > utility options out there).

[text.CaseUtils] adding support for snake_case and kebab-case

2019-12-07 Thread Bryan Rickman
I recently used the text.CaseUtils for converting to camelCase and PascalCase. I also needed to convert to snake_case and kebab-case, and ended up writing my own code for that (I wasn't really a big fan of other utility options out there). Would it be well received if I submitted a PR for adding th