File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/github/fge/jackson Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
package com .github .fge .jackson ;
21
21
22
22
import com .fasterxml .jackson .core .JsonGenerationException ;
23
+ import com .fasterxml .jackson .core .JsonGenerator ;
23
24
import com .fasterxml .jackson .databind .DeserializationFeature ;
24
25
import com .fasterxml .jackson .databind .JsonMappingException ;
25
26
import com .fasterxml .jackson .databind .JsonNode ;
@@ -142,7 +143,7 @@ public static String prettyPrint(final JsonNode node)
142
143
*
143
144
* <ul>
144
145
* <li>{@link DeserializationFeature#USE_BIG_DECIMAL_FOR_FLOATS};</li>
145
- * <li>{@link SerializationFeature #WRITE_BIGDECIMAL_AS_PLAIN};</li>
146
+ * <li>{@link JsonGenerator.Feature #WRITE_BIGDECIMAL_AS_PLAIN};</li>
146
147
* <li>{@link SerializationFeature#INDENT_OUTPUT}.</li>
147
148
* </ul>
148
149
*
@@ -154,7 +155,7 @@ public static ObjectMapper newMapper()
154
155
{
155
156
return new ObjectMapper ().setNodeFactory (FACTORY )
156
157
.enable (DeserializationFeature .USE_BIG_DECIMAL_FOR_FLOATS )
157
- .enable (SerializationFeature .WRITE_BIGDECIMAL_AS_PLAIN )
158
+ .enable (JsonGenerator . Feature .WRITE_BIGDECIMAL_AS_PLAIN )
158
159
.enable (SerializationFeature .INDENT_OUTPUT );
159
160
}
160
161
}
You can’t perform that action at this time.
0 commit comments