JSONObject icon indicating copy to clipboard operation
JSONObject copied to clipboard

The JSONObject class/library for Unity

Results 7 JSONObject issues
Sort by recently updated
recently updated
newest added

Hey Matt, I love this project and am using it in my own work with Unity. Thanks so much for all your hard work on it! Just wanted to mention...

Trying to parse this incorrect JSON string: `{"Parent":{"MyFloat":12,8}}` does not result in an error. Instead, it returns a Type.Object where the sizes of `list` and `keys` differ (due to `SafeAddChild()`...

``` JSONObject array=new JSONObject("[]"); Debug.Log(array.list); ``` **Output** : Null ``` JSONObject array=new JSONObject("[ ]"); // whitespace between square bracket Debug.Log(array.list); ``` **Output** : System.Collections.Generic.List`1[Defective.JSON.JSONObject] Its return List with count 1

` JSONObject Data = new JSONObject(JSONObject.Type.Object);` `Data.AddField("id",1);` `Data.AddField("request_id",null);` `Debug.Log("data:"+Data.ToString()); ` not log data and error !!!

Hello, this is more of a question than anything else: What platforms does this library support, and if there are any limitations when working on certain platforms? Thank you.

Can we please have correct decoding of `"\/"`? I know this was [rejected](https://github.com/mtschoen/JSONObject/issues/12) in the past, but the spec is [really clear](https://www.json.org/json-en.html) about the correct behaviour, and escaped forward-slashes are...

Wrapped the code to compile it in non-Unity solution (for a common .net one)