TinyJSON
TinyJSON copied to clipboard
Unity Engine Vector 3 structure does not convert to JSON properly(missing Type) and prevents converting from json to object
Hello, I am trying to turn into json a class with a bunch of properties and a dictionary. That dictionary uses Vector 3 as its key.
I had noticed that when I try to make this class into a json, and then try to convert that json into a file, I get this error in unity.
When looking at the json to see if anything was wrong, I noticed that the json dictionary section doesn´t store the type of the key being used and thus doesn´t know how to convert it back from a string into a Vector3.
Is there any way to fix this?