JsonFormatter is an Fast, Lightweight Json serialization/deserialization library for Unity projects.
Features
- Serializing Collections: Lists, Dictionaries, IEnumerable
- Serializing KeyValuePair
- Serializing ISerializable
- Surrogate Serialization
- Serializing Almost anything (Automatically serializes public fields and properties)
- Deserializing IDeserializationCallback
- Fast and Helpful Customer Support
- Free & Open Source
- Easy to Use
- Cross Platform (Let us know if you have any problem with any platform)
Getting Started
Just add
using BayatGames.Serialization.Formatters.Json;
then you are ready to go.
JsonFormatter provides some static methods for fast serialization of objects to json string:
using BayatGames.Serialization.Formatters.Json; ... string json = JsonFormatter.SerializeObject ("Hello World");
Get it now: https://bayat.itch.io/jsonformatter
Source Code: https://github.com/BayatGames/JsonFormatter