FasterXML / FasterXML/jackson-databind
mapper-wide root value naming configuration?
Aperta
- Lingua principale
- Java
- Stelle
- 3.7k
- Fork
- 1.5k
- Merge medio
- 3g 6h
- PR unite (30g)
- 28
Descrizione
Is there a way to specify a strategy for naming root nodes, similar to ``mapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);``?
It isn't difficult to add a ``@JsonRootName`` to each class, but specifying a strategy for the entire mapper would be even nicer. Something like ``mapper.setRootNamingStrategy(RootNamingStrategy.LOWER_CASE);``.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.