Looking for a json serializer that works with WebGL

Hi! Are you using a json serializer that works fine when building a WebGL build of your project? Let me know which one, and what version. It must work with the lastest version of Unity and its corresponding .NET and C# versions.

So far, I've had failures with json.net, newtonsoft.json, fastjson and system.text.json.

It's the worst one but you have the Unity built-in one too...

I'm using Newtonsoft in WebGL builds just fine. What are the issues you're experiencing?

I have used json.net and newtonsoft.json with multiple Unity versions and have not had any problems.

1 Like