Json.NET Converters - Simple compatible solution

FREE
Publisher Wanzyee Studio
File size 762.52kB
Number of files 20
Latest version 1.1.2
Latest release date 2018-10-15 12:37:17
First release date 2016-03-30 10:29:22
Supported Unity versions 2018.4.2 or higher
I just wanna use Json.NET in Unity!

Json.NET is a powerful, open source, and free serializing solution.

But it's too smart to serialize something like Vectoe3 or Color, etc.

It even tries to serialize the "normalized" property and throw a loop exception.

And it always treats a dictionary key as a string, even if it's an array.

That's why we need custom converters!

This has some common type converters, and sets them as default to make it up.

If you're using Json.NET, just import and forget this, then coding like before.

Include Json.Net.Unity3D in case you don't have any version of Json.NET.

By the way:

Remember to set the "Api Compatibility Lavel" to .NET 2.0 before importing.

Thank James Newton-King!

Thank SaladLab and Esun Kim!

This's released as feedback for free.


See also:
- Support and operation manual
- Technical documentation
- Unity forum thread

Top Publisher Assets