which doesn’t give an error in VS, but in Unity I get “InvalidCastException: Instance of JsonData doesn’t hold an int”.
I am at a loss. So two questions: How do I solve this? And what it the best JSON library for Unity?
I am using Unity 5.6, LitJson 0,9.0 and VS 2017 Community.
Is a JsonData, which for some reason I don’t really get, can’t be typecast directly into float. It can be typecast into double, which can be typecast into float… as silly as that is.