RSSAmplifier

Ivan Derevianko's Blog Feed · Apr 5, 2016

[Unity3d] Serialize and Deserialize System.Guid using JsonUtility

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Unity3d 5.3.0 introduced JsonUtility class which will help you with JSON serialization and deserialization. But this class has some limitation, and one of them: "You cannot serialize\deserialize System.Guid type" That's a pity, especially if you're using System.Guid in your DTO objects. But, there are solutions: You can change a data type, for example, use System.String or System.UInt32 instead of…

Read on ivanderevianko.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.