title: Sending data from unity to firebase producing error - Invalid data; couldn't parse JSON object
body: <p>Just use Unity3d with Firebase I have a url of database where i want to send data.
   Code below i am using</p>
  
  <pre><code> void Start()
      {
          BtnSendScore();
      }
  
      public void BtnSendScore() {
          StartCoroutine(SendScore("Muhammad Faizan Khan", 100));
      }
  
      public IEnumerator SendScore(string name, int score){
  
          string url = "https://xyz.firebaseio.com/scores.json";
          WWWForm objForm =new  WWWForm();
          objForm.AddField("playerName", name);
          objForm.AddField("score", score);
          objForm.AddField("scoreDate", DateTime.Now.ToString());
          WWW www = new WWW(url, objForm);
          yield return www;
  
          if (www.error == null)
          {
              Debug.Log("Adedd ::" + www.data);
          }
          else {
              Debug.LogError("Error ::" + www.error);
          }
      }
  </code></pre>
  
  <p>Found this error? What the problem is i check on stackoverflow with jquery it talking about stringify.</p>
  
  <blockquote>
    <p>Adedd ::{   "error" : "Invalid data; couldn't parse JSON object,
    array, or value. Perhaps you're using invalid characters in your key
    names." }</p>
  </blockquote>
  
  <p>Remember I didn't mess with database in firebase just create database and got url. No keys added.</p>