title: Can I determine whether the string can deserialize by newtonsoft?
body: <p>In my application I'm using newtonsoft to serialize and deserialize object, I want to know is there any built in API to determine that input string can deserialize to specific object or not?</p>
  
  <pre><code>public TObject Deserialize&lt;TObject&gt;(string serialized)
  {   
      /// I want check the condition, and if is not serialized string just return default(TObject)     
      return JsonConvert.DeserializeObject&lt;TObject&gt;(serialized);
  }
  </code></pre>
  
  <p>I don't want to use <code>try catch</code>. Currently I implemented like that but looking to find a way to verify the string before start to deserialize object.</p>
  
  <p>Already I saw this question <a href="https://stackoverflow.com/questions/23906220/deserialize-json-in-a-tryparse-way">Deserialize json in a &quot;TryParse&quot; way</a>, but its not my answer cause I don't have any specific schema and JSON format can change dynamically.</p>