Hi,
We are working on an update for a game that is already published on Google Play and AppStore.
We are trying to integrate the newer version of all plugins we use.
With PlayFab there was no issues until we run into a problem with a different JSON serialization.
In the previous version of the game there will be this:
Dictionary<string, object> replay = new Dictionary<string, object>(); <..> Fill dictionary. </..> string serializedReplay = JsonConvert.SerializeObject(replayData); return serializedReplay;
Now we have this:
Dictionary<string, object> replay = new Dictionary<string, object>(); <..> Fill dictionary. </..> string serializedReplay = PlayFab.Json.JsonWrapper.SerializeObject(replay); return serializedReplay;
cause JsonConverter was deleted in new version.
The problem is that the returned string is a bit different in this two cases. Is it possible? Did you do change serialization method in this update?
The differences are about some special character like ' " ' or ' \ ' before strings.
Is there a method to obtain the same result? We need to do this because we have to keep the compatibility with previous version of the game that read replay with that format.
Thank you.
Best regards,
Andrea.