title: Checking value of JSON property fails to compare to string
body: <p>I'm building user registration and store user data in JSON files. For some reason I can't compare value of a property to string. Sample code:</p>
  
  <pre><code>public bool IsRegistered()
  {
      JObject data = JObject.Parse("{\"Registered\":\"yes\"}");
      var registered = data["Registered"];
      if (registered != "yes")
      {
              return true;
      }
      return false;
  }
  </code></pre>
  
  <p>I get error on  <code>if (registered != "yes")</code></p>
  
  <blockquote>
    <p>operator of type != cannot be used in operand of type JToken and string</p>
  </blockquote>