title: org.json.JSONException: Unterminated object at character 14
body: <p>The error message I got is:</p>
  
  <pre><code>org.json.JSONException: Unterminated object at character 14 of {address: yo test}
  </code></pre>
  
  <p>I think that I should escape the string, but in vain after trying all the method on StackOverflow.<br>
  Here is my code, thanks a lot for any help:</p>
  
  <pre><code>// src/Activity.java
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      try{
          String str = getString(R.string.data);
          JSONObject jsonObj = new JSONObject(str);
      }
      catch(Exception e){
          Log.d("iLoveDrinkActivity", e.toString());
          // org.json.JSONException: Unterminated object at character 14 of {address: yo test}
      }
  }
  </code></pre>
  
  <p>And...</p>
  
  <pre><code>// res/strings.xml
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;string name="data"&gt;{"address": "yo test"}&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>If the "address" is something else like "test" or "yo" or "123", everything works fine.
  Thanks again!!</p>