title: How to apply a custom JsonConverter to the values inside a list inside a dictionary?
body: <p>I have a <code>CustomConverter : JsonConverter&lt;int&gt;</code> for integers, and I need to add a <code>[JsonConverter(typeof(CustomConverter))]</code> attribute to a <code>Dictionary&lt;string, List&lt;int&gt;&gt;</code> property. Applying the custom converter to an <code>int</code>, <code>List</code> or <code>Dictionary</code> works fine:</p>
  <pre><code>public class Example 
  {
      [JsonConverter(typeof(CustomConverter))]
      public int ExampleInt { get; set; }
      [JsonProperty(ItemConverterType = typeof(CustomConverter))]
      public List&lt;int&gt; ExampleList { get; set; }
      
      // How do I specify the Converter attribute for the int in the following line?
      public Dictionary&lt;string, List&lt;int&gt;&gt; ExampleDictionary { get; set; }
  }
  </code></pre>
  <p>However I can't figure out how to specify that the CustomConverter should be used for the <code>int</code> values inside the <code>List</code> inside the <code>Dictionary</code>.  How can I do this?</p>