Synchronize variants of JsonGenerator#writeNumberField
with JsonGenerator#writeNumber
#565
Milestone
JsonGenerator#writeNumberField
with JsonGenerator#writeNumber
#565
Currently
JsonGenerator#writeNumber
supports 7 types (short
,int
,long
,BigInteger
,float
,double
,BigDecimal
) butJsonGenerator#writeNumberField
support only 5 (int
,long
,float
,double
,BigDecimal
).For 2 types (
short
,BigInteger
) we need to callJsonGenerator#writeFieldName
andJsonGenerator#writeNumber
rather then use one method.Is it acceptable to create a patch with these two methods?
The text was updated successfully, but these errors were encountered: