Skip to content

Commit

Permalink
Update Jackson.java
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Mar 2, 2025
1 parent cd5917e commit e8b8bdd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
import tools.jackson.core.JacksonException;
import tools.jackson.databind.ObjectMapper;

public class Jackson {
final class Jackson {

public static <T> Marshaller<T, RequestEntity> marshaller(ObjectMapper mapper) {
static <T> Marshaller<T, RequestEntity> marshaller(ObjectMapper mapper) {
return Marshaller.wrapEntity(
u -> toJSON(mapper, u), Marshaller.stringToEntity(), MediaTypes.APPLICATION_JSON);
}
Expand Down

0 comments on commit e8b8bdd

Please sign in to comment.