Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Nov 11, 2016
1 parent 6c283a8 commit 1aeb525
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -74,7 +74,7 @@ public void testSuccessfulDeserializationOfObjectWithChainedArrayCreators() thro
MAPPER.readValue(JSON, Bean1421A.class);
}

public void test2() throws Exception {
public void testWithSingleString() throws Exception {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY);
Bean1421B<List<String>> a = objectMapper.readValue(quote("test2"),
Expand Down

0 comments on commit 1aeb525

Please sign in to comment.