For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download ULTIMATE JSON for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Ultimate JSON v2.4
“If possible, please buy the package to support the developer”
ULTIMATE JSON
For test performance you can download Android Benchmark APK(2.2Mb JSON File with 5256 records):
Android_APK_Benchmark
Contact WebSIte:
TachyonWebSite
DESCRIPTION:
Best JSON Serializer/Deserializer on UNITY. Two times faster as the Newtonsoft(NETJson). Based on FastJson.
Android, iOS, Windows, Mac OS, Linux
FEATURES:
– faster JSON Serializer/Deserializer for UNITY;
– simple for use – only import package(not need insert many libraries and files);
– based on FastJSON;
– JSON Indexer API Framework;
– JSON Class Serializer API Framework;
– Support fields names with ‘-‘. Example: property in JSON named as “en-gb”. Field name in class you can name as “Engb”. – Compress Tool for JSON: LZMA and QZIP (for networking);
– Supported UTF8 fields for JSON fields;
– Full source code included;
– Supported and tested on different platforms: Android, iOS, Windows Phone, Windows, Mac OS, Linux.
SupportedTypes:
I) Simple Types:
– Int
– Long
– String
– Bool
– DateTime
– Enum
– Guid
– Float
– Char
– Byte
– Decimal
– Double
– Short
II) Collection Types:
– List
– Dictionary
– StringDictionary
– NameValueCollection
– Array
– ByteArray
– Hashtable
III) Unity build-in types:
– Vector2
– Vector2Int
– Vector3
– Vector3Int
– Vector4
– Color
– Color32
– Rect
– RectInt
– Bounds
– BoundsInt
– Quaternion
– Ray
– Ray2D
Perfection
This one need a quick fix for il2cpp builds, just copy from this commit and you are good to go
github.com/xmedeko/UnityFastJSON/commit/a99127297788830a70bc9d2854b8911bdf52c328
Otherwise you will get a NotSupportedException about System.Reflection.Emit.DynamicMethod