Closed ajtribick closed 1 month ago
Transferring issue as part of https://github.com/microsoft/kiota-abstractions-dotnet/issues/238
Thanks for raising this @ajtribick
At the moment, the library provides mechanisms for deserializing/serializing with the helper methods as documented at the link below.
https://learn.microsoft.com/en-us/openapi/kiota/serialization?tabs=csharp#serialization-helpers
Any chance you can provide more information as to how the intergration with non Kiota uses would be hindered?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Kiota uses custom enum serialization that depends on the
EnumMemberAttribute
. Unfortunately theJsonStringEnumConverter
provided in System.Text.Json does not use this attribute. In order to more easily integrate with non-Kiota uses of System.Text.Json, it would be useful to provideJsonConverter
/JsonConverterFactory
implementations that match the Kiota output.Similarly the
Date
andTime
types from Kiota abstractions also don't work directly with System.Text.Json.