FasterXML / FasterXML/jackson-databind

Support `@JsonFormat` for `String`, numbers, using String.format()

Abierto
#1,114 22 comentarios 0 reacciones 0 asignados Ver en GitHub
3.x
Lenguaje dominante
Java
Estrellas
3.7k
Forks
1.5k
Merge medio
3 d 6 h
PR fusionados (30 d)
28

Descripción

Seems like it would be nice to just support formats available via format Strings that `String.format()` uses.
Note that existing support for date/time values use different formatting; this should be fine, and if we want to for some reason support something from `java.text.Format` it should be possible to use heuristics to determine intended type of format. However that may not be necessary.

Initially we should just support simple types:
- `java.lang.String`
- `int`, `long`, `short`, `byte`, `float`, `double` and matching wrapper types
- `BigDecimal`, `BigInteger`

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.