Announcement Announcement Module
Collapse
No announcement yet.
Regarding creation of bean. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Regarding creation of bean.

    Hi All,

    I wish to create a bean for the (following) ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper). Can anyone kindly tell me, how should I do this..?

    Code:
    ObjectMapper objectMapper = new ObjectMapper();
    objectMapper.configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true);
    Thanks,
    Vivek

  • #2
    What is the issue you are facing creating a bean of this class?

    Comment


    • #3
      Hi amiladomingo,

      Thanks for responding.

      Here, as you can see configure() method is called unlike conventional way of setting properties.

      So, what I exactly need is code (XML way) for creating a bean for ObjectMapper?
      Last edited by vivek4348; Feb 19th, 2013, 09:44 AM.

      Comment

      Working...
      X