Deserialize from string to object : <p>I been stuck on this problem for long time now so I´m asking here.</p>

<p>I´m getting following error message:</p>

<pre><code>"Newtonsoft.Json.JsonSerializationException: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'XXX' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly."
</code></pre>

<p>This is how my class looks like:</p>

<pre><code>public class SSN
{
    public IDictionary&lt;string,string&gt; ssns { get; set; }
}
</code></pre>

<p>Here is the json-format:</p>

<p><a href="https://i.stack.imgur.com/brjMQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/brjMQ.png" alt="enter image description here"></a></p>
