UnityLitJson icon indicating copy to clipboard operation
UnityLitJson copied to clipboard

LitJson doesn't handle null-type:

Open corbinyo opened this issue 5 years ago • 0 comments

string jsonStr = "{'body':null}"; LitJson.JsonData jsonData = LitJson.JsonMapper.ToObject(jsonStr); jsonStr = LitJson.JsonMapper.ToJson(jsonData); //exception here

corbinyo avatar Aug 20 '20 16:08 corbinyo