JSON parse error, invalid value
alt text
The data structure that I want to retrieve from database is like in the picture. This is the method that I use to fetch data from JSON with giving datasnaphot. The snapshot returns right data. However program stops at this line. The error occurs and says that, json parse error: invalid value. In my opinion, the problem is related to struct type. I use nested data and this data type is struct. Probably JSON can't parse string to struct type. In that case, which alternative should I use?
Answer by inzade220 · Jun 25, 2021 at 10:42 AM
You can find out the same question with more attached images.
Your answer
Follow this Question
Related Questions
How to work with Timestamp data in Unity 0 Answers
How to parse googlesheet json 0 Answers
Easier way to serialize int value using JSONUtility ? 1 Answer
Deserialize Json array with mixed types 0 Answers