GameDevWare.Serialization 2.4.0

JSON and MessagePack serializer for Unity3D

There is a newer version of this package available.
See the version list below for details.
Install-Package GameDevWare.Serialization -Version 2.4.0
dotnet add package GameDevWare.Serialization --version 2.4.0
<PackageReference Include="GameDevWare.Serialization" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GameDevWare.Serialization --version 2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

2.4.0

added 'buffer' parameter to all Reader/Writer clases. This allow re-use binary/character buffers between serializations.
exposed JsonSerializationException.ErrorCode enum
changed type of JsonSerializationException.Code to ErrorCode type

2.3.3

added missing throw in MsgPackReader
removed "Path" from JsonSerializationException
refactored IndexedDictionary.ToString and debugger display string
fixed non throwing exception in ArraySerializer

2.3.2

fixed url formatting error (was using Uri.ToString instead of Uri.OriginalString)
fixed bug with NegativeFixInt serialization and de-serialization (small integers from -32 up to 0)

2.3.1

fixed bug with guid de-serialization (when serialized as MessagePack extension type)

2.3.0

added check preventing Unity WebGL build from failing when 'Exception Handling' is 'None'
added new defines to detect IL2CPP scripting backend
fix for serialization/deserialization with different BCL assembles (.NET Core vs classic runtime)
added more descriptive error when type resolution fails
added way to handle MessagePack extension types. You can change standard behaviour by your implementation of MessagePackExtensionTypeHandler and assigning it to MsgPack.ExtensionTypeHandler
added guid serialization as Message Pack extension type

2.2.2

fixed error with wrong string length during serialization

2.2.1

moved acquiring of TypeDescription instance from ObjectSerializer to TypeDescription class as static method Get
fixed byte[] handling in MsgPackReader
fixed error with unexpected EndOfStream
fixed IndexedDictionary serialization
fixed short string serialization in MessagePack format

2.4.0

added 'buffer' parameter to all Reader/Writer clases. This allow re-use binary/character buffers between serializations.
exposed JsonSerializationException.ErrorCode enum
changed type of JsonSerializationException.Code to ErrorCode type

2.3.3

added missing throw in MsgPackReader
removed "Path" from JsonSerializationException
refactored IndexedDictionary.ToString and debugger display string
fixed non throwing exception in ArraySerializer

2.3.2

fixed url formatting error (was using Uri.ToString instead of Uri.OriginalString)
fixed bug with NegativeFixInt serialization and de-serialization (small integers from -32 up to 0)

2.3.1

fixed bug with guid de-serialization (when serialized as MessagePack extension type)

2.3.0

added check preventing Unity WebGL build from failing when 'Exception Handling' is 'None'
added new defines to detect IL2CPP scripting backend
fix for serialization/deserialization with different BCL assembles (.NET Core vs classic runtime)
added more descriptive error when type resolution fails
added way to handle MessagePack extension types. You can change standard behaviour by your implementation of MessagePackExtensionTypeHandler and assigning it to MsgPack.ExtensionTypeHandler
added guid serialization as Message Pack extension type

2.2.2

fixed error with wrong string length during serialization

2.2.1

moved acquiring of TypeDescription instance from ObjectSerializer to TypeDescription class as static method Get
fixed byte[] handling in MsgPackReader
fixed error with unexpected EndOfStream
fixed IndexedDictionary serialization
fixed short string serialization in MessagePack format

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.4.2 107 5/8/2019
2.4.0 191 10/25/2018
2.3.2 334 3/28/2018
1.0.13 430 12/2/2016