vertx-codegen icon indicating copy to clipboard operation
vertx-codegen copied to clipboard

Add a new jsonproperty formatter for SCREAMING_SNAKE_CASE

Open eddyv opened this issue 1 year ago • 0 comments

I was using @DataObject for a AppConfig.java pojo in combination w/ vertx configretriever. Depending on the config store (env variables as an example) it's common to see screaming snake case when supplying configs. This should allow for us to parse the json object retrieved by the config retriever and place them nicely in the pojo.

The existing SnakeCase only checks for lower cased snake names.

Conformance:

  • [x] Signed ECA

eddyv avatar Sep 12 '23 20:09 eddyv