title: C# equivalent of Java org.json.JSONObject
body: <p>I'm trying to convert a java project to C#. In the following piece I don't know how to convert the Json part.</p>
  <pre><code> Cursor resultSet = helper.openDataBase().rawQuery(&quot;Select * from word where wname=?&quot;, new String[] {String.valueOf(editable)});
     TextView TextView_FA =  findViewById(R.id.textView_FA);
                   
                  if( resultSet.moveToFirst())
                  {
                      String str_json = resultSet.getString(2);
                    try {
                          JSONObject obj = new JSONObject(str_json);
  
                          String trans = obj.getJSONArray(&quot;ss&quot;).optJSONObject(0) .getString(&quot;s&quot;);
  
                          TextView_FA.setText(trans);
  
                      } catch (JSONException e) {
                          TextView_FA.setText(e.getLocalizedMessage());
                      }
  
  
                  }
                  else {
  
                      TextView_FA.setText(&quot;no translation found&quot;);
                  }
  </code></pre>
  <p>This is what I've tried:</p>
  <pre><code> EditText EditText_en = FindViewById&lt;EditText&gt;(Resource.Id.EditText_en);
  
              Java.IO.File fil = new Java.IO.File(db_src);
   
              SQLiteDatabase db = SQLiteDatabase.OpenDatabase(fil,null);
              Android.Database.ICursor resultSet = db.RawQuery(&quot;Select * from word where wname =? &quot;,new[]{ EditText_en.Text});
  
  
  
  
              TextView TextView_FA = FindViewById&lt;TextView&gt;(Resource.Id.TextView_fa);
              if (resultSet.MoveToFirst())
              {
                  String str_json = resultSet.GetString(2);
                
                  try
                  {
                      
                     // JSONObject obj = new JSONObject(str_json);
                     // String trans = obj.getJSONArray(&quot;ss&quot;).optJSONObject(0).getString(&quot;s&quot;);
  
                      TextView_FA.Text = trans;
  
                  }
                  catch (Exception e)
                  {
                      TextView_FA.Text = e.Message;
                  }
  
  
              }
              else
              {
  
                  TextView_FA.Text = &quot;no translation found&quot; ;
              }
  </code></pre>
  <p>The two line I've commented is the question.
  I tried to use System.Text.Json or System.Json as some of the internet docs has said but VS2019
  intellisense doesn't recognize them as a valid library.</p>