Publisher | brownie |
---|---|
File size | 32.53kB |
Number of files | 6 |
Latest version | 1 |
Latest release date | 2015-04-29 08:12:27 |
First release date | 2015-01-21 12:46:16 |
Supported Unity versions | 2018.4.2 or higher |
FastJSON is fast JSON serializer and deserializer.
FastJSON can interconvert an object of C# json text.
feature:
-pure C# code
-faster than existing json parser
-many available types (Dictionary<T,U>, List<T>, HashSet<T>, DateTime, multidimensional array, etc.)
-Hashtable unavailable
-supports PC, Mac, Android, iOS [1]
-supports Unity4, Unity5
[1] There is a possibility that a AOT error occurs by serialization of generic type where new() isn't written. It can be avoided by writing new() specifically.
available types:
-user defined class/struct
-C# primitive types
--int, long, sbyte, short
--uint, ulong, byte, ushort
--Decimal
--char
--bool
--float, double
--string ( available json escape characters )
--enum type
--- Serialize available to a string or int. Can be selected.
--- Deserialize available to both of string and int.
-array
--multidimensional array (any dimensions)
--jagged array (any dimensions)
-generic types
--user defined generic class/struct
--Dictionary<T,U>
--SortedDictionary<T,U>
--List<T>
--HashSet<T>
-unity types
--Vector2
--Vector3
--Vector4
--Quaternion
--Hash128
--Rect
--Color
--Color32
-.NET types
--DateTime
FastJSON can interconvert an object of C# json text.
feature:
-pure C# code
-faster than existing json parser
-many available types (Dictionary<T,U>, List<T>, HashSet<T>, DateTime, multidimensional array, etc.)
-Hashtable unavailable
-supports PC, Mac, Android, iOS [1]
-supports Unity4, Unity5
[1] There is a possibility that a AOT error occurs by serialization of generic type where new() isn't written. It can be avoided by writing new() specifically.
available types:
-user defined class/struct
-C# primitive types
--int, long, sbyte, short
--uint, ulong, byte, ushort
--Decimal
--char
--bool
--float, double
--string ( available json escape characters )
--enum type
--- Serialize available to a string or int. Can be selected.
--- Deserialize available to both of string and int.
-array
--multidimensional array (any dimensions)
--jagged array (any dimensions)
-generic types
--user defined generic class/struct
--Dictionary<T,U>
--SortedDictionary<T,U>
--List<T>
--HashSet<T>
-unity types
--Vector2
--Vector3
--Vector4
--Quaternion
--Hash128
--Rect
--Color
--Color32
-.NET types
--DateTime