title: Unable to deserialize json array to class object using jackson fasterxml in scala
body: <p>I am trying to serialize class object to json and deserialize json to class objects using jackson faster xml in scala. Here is my code.</p>
  
  <pre><code>var jsonDataString = objectMapper.writeValueAsString(nodeRepoList)
  var deserializedData: List[NodeRepository] = objectMapper.readValue(jsonDataString, classOf[List[NodeRepository]]);
  </code></pre>
  
  <p>The json looks as follows.</p>
  
  <pre><code>[ {
    "Operation" : "sample",
    "Value" : "cool",
    "TargetColumn" : "10",
    "ClassName" : "RowFilter",
    "DiagramId" : "2",
    "NodeId" : "1"
  }, {
    "columnToInclude" : "sample",
    "ClassName" : "ColumnFilter",
    "DiagramId" : "2",
    "NodeId" : "1"
  } ]
  </code></pre>
  
  <p>While deserializing to the class object the output is as follows. The output is in Map.It shouldnot be in the Map type. It should be deserialized to class objects.</p>
  
  <pre><code>[Map(NodeId -&gt; 1, ClassName -&gt; RowFilter, TargetColumn -&gt; 10, Value -&gt; cool, Operation -&gt; sample, DiagramId -&gt; 2)] 
  </code></pre>
  
  <p>Please let me know how to resolve the issue.</p>