encoding empty array in JavascriptSerializer using custom JavascriptConverter
<p>I'm using a custom converter to encode an object model. On the client, I need an empty array but I don't want to include this array in the object model on the server because the array is only used client-side.</p>

<p>This is what I have:</p>

<pre><code>public override IDictionary&lt;string, object&gt; Serialize(object obj, JavaScriptSerializer serializer)
{

    MyObjectModel TheObjectModel = obj as ObjectModel;
    Dictionary&lt;string, object&gt; OutputJson = new Dictionary&lt;string, object&gt;();

    OutputJson.Add("MyEmptyArray", new Array()); // not working here
</code></pre>

<p>What do I need to put instead of <code>new Array()</code>?</p>

<p>Thanks</p>
