JSONArray not identified? Does not exist?

Hey all, trying to follow a tutorial and do a simple JSONArray, but unity does not seem to recognize that this is something that exists. No idea why. Any know why this might be happening?

JSONArray jsonArray = JSON.Parse(_jsonArray) as JSONArray;

I get a nice red squigly line with the error “The type or namespace could not be found…”

It appears that the code above is for something other than Unity JSON and something other than Newtonsoft JSON.

Figure out what JSON library that code is actually using first, and from the docs for that library, you should be able to find the thing you need.

Ah I think it is there is part of the tutorial I am following that is not in the playlist that was just a side video about Jason files. Guess I’ll have to follow that one first! Thanks for setting me in the right direction.

1 Like

It may have used my SimpleJSON framework.