title: How to avoid escape character in Migrating the data from SQLDatabase to Cosmos DB
body: <p>I want to migrate the whole SQL database to Cosmos DB.in this process 
  one of the SQL table columns have a serialize data as follows</p>
  
  <pre><code>    [{"Id":"1","Type":"Phone","HeaderLabel":"HQ - Main Line","ContactNumber":"+9122222222"}]
  </code></pre>
  
  <p>the serialized data represent a Class</p>
  
  <pre><code>  public class ContactNumber
  {
      public string ContactNumberId { get; set; }
      public string Type { get; set; }
      public string HeaderLabel { get; set; }
      public string ContactNumber { get; set; }
  }
  </code></pre>
  
  <p>while saving the data in sql i have to perform the Serialization and Deserialization for the class which ncessary to do.</p>
  
  <pre><code> public string _ContactNumbers { get; set; }
  
   public List&lt;ContactNumber&gt; ContactNumbers
      {
          get { return _ContactNumbers == null ? null : JsonConvert.DeserializeObject&lt;List&lt;ContactNumber&gt;&gt;(_ContactNumbers); }
          set { _ContactNumbers = value == null ? null : JsonConvert.SerializeObject(value); }
      }
  </code></pre>
  
  <p>after using the migration tool it gets updated like this</p>
  
  <pre><code>"ContactNumbers":"[{\"Id\":\"1\",\"Type\":\"Phone\",\"HeaderLabel\":\"HQ - Main Line\",\"ContactNumber\":\"+9122222222\"}]"
  </code></pre>
  
  <p>the class remains the same. while fetching the data from cosmos DB I have not performed any Serialization and Deserialization. </p>
  
  <pre><code>public List&lt;ContactNumber&gt; ContactNumbers 
  </code></pre>
  
  <p>while fetching the data it throws an error </p>
  
  <pre><code>Error converting value "[{"Id":"1","Type":"Phone","HeaderLabel":"HQ - Main Line","ContactNumber":"+9122222222"}]" to type 'System.Collections.Generic.List`1[CosmosDB.Models.ContactNumber]'. Path 'ContactNumber', line 1, position 2411.
  </code></pre>
  
  <p>the Error comes because of the Extra \ character in the string which is added after the migration.</p>
  
  <p>I don't want to Serialization and Deserialization the class in cosmos DB because it not necessary to do it.</p>
  
  <p>so how can I avoid the extra \ while migrating the data from SQL Database to Cosmos DB Document?</p>