Skip to content

Commit

Permalink
Simplify the encoding type for default encoder (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Oct 30, 2024
1 parent 3187b20 commit c1809e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public JacksonJsonObjectEncoder() {
mapper.registerModule(new JavaTimeModule());
mapper.registerModule(new Jdk8Module());
mapper.setVisibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY);
encodingType = "BuiltinJacksonJson";
encodingType = "json";
}

public JacksonJsonObjectEncoder(ObjectMapper mapper, String encodingType) {
Expand Down

0 comments on commit c1809e5

Please sign in to comment.