Use @JacksonInject with @JsonCreator on a top level map Use @JacksonInject with @JsonCreator on a top level map json json

Use @JacksonInject with @JsonCreator on a top level map


Right, you would like to both use "delegating" creator (single argument, into which JSON input is first bound) -- different from "property-based" creator where set of named parameters are passed -- and injectable value(s). This should ideally work, but I think it might not work currently.I think there is a Jira entered for this, so you can check it (http://jira.codehaus.org/browse/JACKSON) out.

Just to make sure: are you using version 1.9.2? There have been some fixes in this are since 1.9.0; which at least would give better error message.