Answer the question
In order to leave comments, you need to log in
How to parse JSON using C# in Unity?
Good afternoon. The first time I encountered this issue. I need to get JSON from a server, parse it and output it to Unity. I figured out the output and receiving, but there are problems with parsing. I need to parse the names, IDs and path on the server. I tried to parse through JSON.Net, but they write that he is not friendly with the unit. I don’t want to burn JSON for privacy purposes, but the fields are: id, name, vendor, path. So what can be parsed.
PS Is it possible to convert JSON to XML? Because I wrote an XML parser and it works great with Unity.
Answer the question
In order to leave comments, you need to log in
newtonsoft.json. Excellent friends with units and platforms.
There will be no code example because
I do not want to shoot JSON for privacy purposes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question