title: How to decode JSON by using JSONObject.cs?
body: <p>I am new to JSON and using the JSONObject.cs from the Unity Assets Store to decode the JSON file. I put the JSONObject.cs in the Standard Assets folder, the example.js is in Scripts folder. When I tested the example (in javascripts) in Unity:</p>
  
  <pre><code>  var encodedString: String = "{\"field1\": 0.5,\"field2\": \"sampletext\",\"field3\": [1,2,3]}";
    var j: JSONObject = new JSONObject(encodedString);
  </code></pre>
  
  <p>it has a compiler error, which is said:</p>
  
  <pre><code>BCE0024: The type 'JSONObject' does not have a visible constructor that matches the argument list '(String)'.
  </code></pre>
  
  <p>Do I need to declare the JSONObject class in example file again? Any thoughts would be very much appreciated! </p>