Suppose my bean that needs to be marshalled from a JSON string is:

public class Foo {
   private Dao dao
   private String id;
   private int n;
   // other fields...

   @Inject
   public Foo(Dao dao) {
      this.dao = dao;
   }

   public void setId(String id) {this.id = id;}
   // other setters ... 
}


Would like to know if there are way for Jackson to use Guice to provide the 
bean instance (hence I got the `dao` injected) before setting properties 
from the JSON string input?

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to