How to use a specific field as the name of a json object when using jsonconvert.serializeobject?
<p>So my current output from serializeobject is:</p>

<pre><code>{
"ID": "dog-1",
"fed": [
  "2016/05/19T01:00:00Z"
]
},
</code></pre>

<p>"ID" is a string in the object I am trying to serialize, and "fed" is a List of string. </p>

<p>My question is, can I use some kind of attribute to make it so that I get this instead? </p>

<pre><code>"dog-1" :  {
"fed": [
  "2016/05/19T01:00:00Z"
]
},
</code></pre>

<p>I'm using newtonsoft JsonConvert.SerializeObject</p>