View on Asset Store (opens in new tab)
Package details
- Latest version
- 3.0.0
- Last updated
- First released
- Unity version
- 4.7.0 or later
- Package size
- 415 KB
- Files
- 78
- Favorites
- 146
- Views in the past week
- 18
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Json & MessagePack Serialization
This package provides API for data serialization/de-serialization into MessagePack and JSON format.
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Json & MessagePack Serialization screenshot 1
About this asset
This package provides API for data serialization/de-serialization into MessagePack and JSON format.
[Source Code] [Documentation] [Forum Thread]
Example:
// Serialize to JSON string
string json = Json.SerializeToString(myData);
// Deserialize from JSON string
var restoredData = Json.Deserialize<MyData>(json);
Supported Platforms:
• PC/Mac/Linux
• IOS
• Android
• WebGL
Serialized types:
- Primitives: Boolean, Byte, Double, Int16, Int32, Int64, SBytes, Single, UInt16, UInt32, UInt64, String
- Standart Types: Decimal, DateTimeOffset, DateTime, TimeSpan, Guid, Uri, Version, DictionaryEntry
- Unity3D Types: Bounds, Vector, Matrix4x4, Quaternion, Rect, Color
- Binary: Stream, byte[]
- Lists: Array, ArrayList, List<T>, HashSet<T> and any other IEnumerable types with Add method
- Maps: Hashtable, Dictionary<K,V>, and other IDictionary types
- Nullable types
- Enumeration
- Objects
- Custom Types
Compatible:
- Unity 4
- Unity 5
- Unity 2017 - 2021
- Unity 6+
From the publisher's Asset Store listing.