JSON Dictionary support

Does Unity JSON support complex structures like dictionaries in the JSON object?

I have several work around working. But not sure if they are needed?

JsonUtility doesn’t support dictionaries (and likely never will). Use the Newtonsoft Json.NET package instead; it works pretty much exactly like JsonUtility but with more power and flexibility.

1 Like