ChatMessage & co. JSON serialization stability
#7372
-
|
Are there any guarantees around the JSON serialization stability of In MAF, the Cosmos But the DurableTask implementation on the other hand, go the extra mile to decouple its serialization from these core types: https://github.com/microsoft/agent-framework/tree/main/dotnet/src/Microsoft.Agents.AI.DurableTask/State#state-schema What is the recommendation for persisting these types? Apologies if this has been answered before. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
We are certainly trying to avoid breaking serialization via changed format; doing so would be problematic for all the places like the one you cite, where serialized forms of the messages are persisted and need to be roundtrippable. |
Beta Was this translation helpful? Give feedback.
We are certainly trying to avoid breaking serialization via changed format; doing so would be problematic for all the places like the one you cite, where serialized forms of the messages are persisted and need to be roundtrippable.