Json & MessagePack Serialization 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

by GameDevWare (opens in new tab)

4.4 / 5 · 26 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 17
4 stars 6
3 stars 1
2 stars 0
1 star 2

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

USD
Price history for Json & MessagePack Serialization, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 1

Json & MessagePack Serialization screenshot 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.