title: .Net Core JsonSerializer - How to disable encoding of special characters
body: <p>I'm using the new Json Serializer included in .Net Core (not Newtonsoft).</p>
  
  <p>I am enconding a phone number in an object with the country code, so I have an object with a string property which holds the number. Example:</p>
  
  <pre><code>public class MyObject {
      public string phoneNumber { get; set; }
  }
  
  var myObject = new MyObject() {
      phoneNumber = "+569123123123"
  }
  </code></pre>
  
  <p>I need to encode this object as a Json, so I do:</p>
  
  <pre><code>var jsonToSend = System.Text.Json.JsonSerializer.Serialize(myObject);
  </code></pre>
  
  <p>What I get as a result is this:</p>
  
  <pre><code> {
      "phoneNumber":"\u002B569123123123"
   }
  </code></pre>
  
  <p>What I need is this:</p>
  
  <pre><code>{
    "phoneNumber":"+569123123123"
  }
  </code></pre>
  
  <p>So, I need to find a way to disable the encoding of special characters</p>
  
  <p>BTW I'm assuming this is the Json generated because I'm using the Text Visualizer of Visual Studio to inspect the variable in debugging.</p>
  
  <p>Thanks in advance.</p>