Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'm using RestTemplate, which uses under Jackson.
      Now i've issiue with deserialization one element Array.
      In Jackson 1.8.x fixed this issiue by http://jira.codehaus.org/browse/JACKSON-526.

      Could you add way to set Jackson features from RestTemplate?

      import org.codehaus.jackson.map.DeserializationConfig;
      import org.codehaus.jackson.map.ObjectMapper;
      
      // ...
      
      ObjectMapper mapper = new ObjectMapper();
      mapper.configure(DeserializationConfig.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true);
      
      // ...
      

        Attachments

          Activity

            People

            • Assignee:
              rclarkson Roy Clarkson
              Reporter:
              lstrzelecki Lukasz Strzelecki
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: