You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dynamic runtime very often you need to store values in Dictionary<string, object> variables. These can be serialized without problems, but not deserialized. The original Type is not persistant and the result will be a Dictionary with KVP like: ("key1", {object}), ("key2", {object}) etc.
Is there any recommended workaround or solution to this problem?
The text was updated successfully, but these errors were encountered:
I'd recommend serializing the type information yourself alongside the actual data, and using Type.GetType() to get the target type back for deserialization. Unfortunately until #30 is resolved, you'll have to use reflection to pass this type into the Deserialize method.
In dynamic runtime very often you need to store values in Dictionary<string, object> variables. These can be serialized without problems, but not deserialized. The original Type is not persistant and the result will be a Dictionary with KVP like: ("key1", {object}), ("key2", {object}) etc.
Is there any recommended workaround or solution to this problem?
The text was updated successfully, but these errors were encountered: