Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Input Management
1/1
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

Json.NET Converters - Simple compatible solution

(31)
199 users have favourite this asset
(199)
FREE
License type
File size
762.5 KB
Latest version
1.1.2
Latest release date
Oct 15, 2018
Original Unity version
5.4.6
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
Json.NET Converters - Simple compatible solution
FREE