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
The AttributesDictionaryConverter was written primarily to support serialization to JavaScript. Because of that, the Write output format is not a normal Dictionary/Object, and it is not supported by the Read method.
The custom Write logic probably really belongs in the TypeScript layer. However, it stores .NET type information, and might need to stay where it is (DateTimes, for example, once serialized, look like strings, and we lose the strong typing). Either way, the Read method should support both dictionary/object and array formats, so that it can accept data from different sources.
The text was updated successfully, but these errors were encountered:
The
AttributesDictionaryConverter
was written primarily to support serialization to JavaScript. Because of that, theWrite
output format is not a normal Dictionary/Object, and it is not supported by theRead
method.The custom
Write
logic probably really belongs in the TypeScript layer. However, it stores .NET type information, and might need to stay where it is (DateTimes, for example, once serialized, look like strings, and we lose the strong typing). Either way, theRead
method should support both dictionary/object and array formats, so that it can accept data from different sources.The text was updated successfully, but these errors were encountered: