title: how do i convert list of jsonNodes to single jsonNode
body: <p>I am using Jackson library. I have number of java objects which are nothing but the wrapper for jsonNode. So want to convert these list of jsonNodes into single jsonNode. how can i do that. i tried this  </p>
  
  <pre><code>   public JsonNode converter(List&lt;? extends Base&gt; objList){
      List&lt;String&gt; jsonList=new ArrayList&lt;String&gt;();
      try
       {
      for (Base raObject : objList) {
          ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter();
          String json = ow.writeValueAsString(raObject);
          jsonList.add(json);
      }
       return JsonHelper.convert(jsonList); 
      }catch(Exception e)
      {
           System.out.println("Error occured while converting objectlist to jsonNode::"+e);
           return null;
      }       
  }
  </code></pre>
  
  <p>this is not working. ithere any other way?</p>