Hi,
Maybe try a String as parameter to your method. Than in the method do:
new
ObjectMapper().readerFor(ACHOriginationApi.class).readValue(inputString);
That'll fail just the same, but you'll have an opportunity for debugging.
Better yet: write a unit test that does that. You can also make one that
does
new
ObjectMapper().writerFor(ACHOriginationApi.class).writeValueAsString(obj);
than you can make a diff of the two and see where you went wrong.
My guess is that your getters should have @JsonProperty("Summary") and
@JsonProperty("Details") (both with Captitals and as Daniel pointed out
Details in plural)
Hope that helps,
Groeten,
Friso
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.