Closed
Description
(note: follow up to #3275 )
It looks like following test would fail:
public void testDeserializeWithNamingStrategy() throws IOException {
final ObjectMapper mapper = JsonMapper.builder()
.propertyNamingStrategy(PropertyNamingStrategies.UPPER_CAMEL_CASE)
.build();
Exception ex = mapper.readValue(a2q(
"{'Message':'Message!, 'Cause':{}}"
),
Exception.class);
assertNotNull(ex);
}
since naming strategy is not considered when constructing deserializer for Throwable
types.
It should work.
Metadata
Metadata
Assignees
Labels
No labels