Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #40 from gatling/master
Browse files Browse the repository at this point in the history
Let one pass an external ObjectMapper to JacksonRuntime instance
  • Loading branch information
iconara authored Jun 4, 2019
2 parents d73cfaa + 4e94a87 commit 25c81e8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ public JacksonRuntime() {
}

public JacksonRuntime(RuntimeConfiguration configuration) {
this(configuration, new ObjectMapper());
}

public JacksonRuntime(RuntimeConfiguration configuration, ObjectMapper jsonParser) {
super(configuration);
this.jsonParser = new ObjectMapper();
this.jsonParser = jsonParser;
}

@Override
Expand Down

0 comments on commit 25c81e8

Please sign in to comment.