title: JSON parse error: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
body: <p>I'm using spring boot and and spring data in my project and  i have two classes:</p>
  
  <pre><code>@Entity
  public class Mission implements Serializable {
      private static final long serialVersionUID = 1L;
  
      @Id
      @GeneratedValue( strategy = GenerationType.IDENTITY )
      private Long              id;
      private String            departure;
      private String            arrival;
      private Boolean           isFreeWayEnabled;
      @OneToMany( mappedBy = "mission" )
      private List&lt;Station&gt;     stations;
      // getters and setters
  }
  </code></pre>
  
  <p>and the second class:</p>
  
  <pre><code>@Entity
  public class Station implements Serializable {
      private static final long serialVersionUID = 1L;
  
      @Id
      @GeneratedValue( strategy = GenerationType.IDENTITY )
      private Long              id;
      private String            station;
  
      @ManyToOne( fetch = FetchType.LAZY )
      @JsonBackReference
      private Mission           mission;
      //getters and setters
  }
  </code></pre>
  
  <p>and the controller:</p>
  
  <pre><code>@RequestMapping( value = "mission/addMission", method = RequestMethod.POST, consumes = "application/json;charset=UTF-8" )
  public Reponse addMission( @RequestBody Mission mission ) throws ServletException {
      if ( messages != null ) {
          return new Reponse( -1, messages );
      }
      boolean flag = false;
      try {
          application.addMision( mission );
          application.addStation( mission.getStations(), mission.getId() );
          flag = true;
      } catch ( Exception e ) {
          return new Reponse( 5, Static.getErreursForException( e ) );
      }
      return new Reponse( 0, flag );
  }
  </code></pre>
  
  <p>The problem is when I'm trying to add a new mission with JSON:</p>
  
  <blockquote>
    <p>{"departure":"fff","arrival":"ffff","isFreeWayEnabled":false,stations:{"id":1}</p>
  </blockquote>