kiota-serialization-json-dotnet
kiota-serialization-json-dotnet copied to clipboard
Kiota serialization provider implementation with System.Text.Json
Adds async support and marks sync method obsolete
Hello, I have an issue with the api endpoint (controller action) which return collection of C# enum as a json this is my swagger.json file: ``` json { "openapi": "3.0.1",...
Related issue https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2459 If we create derivatives of the Untyped classes from Kiota.Abstractions we can add the necessary annotations/interfaces to enable using STJ to serialize/deserialize these untyped objects.
Hello! Whilst testing we found a regression after switching from nswag -> kiota, we used to get a `Newtonsoft.Json.JsonSerializationException` when we deserialized an entity with an unknown enum value, it'd...
The Methods `GetCollectionOfPrimitiveValues`, `GetCollectionOfEnumValues` and `GetCollectionOfObjectValues` in `JsonParseNode` now return null when called on a non array type. For this to work the changes from microsoft/kiota-abstractions-dotnet#174 are neccessary. This change...
https://github.com/microsoft/kiota-serialization-json-dotnet/blob/0b4c30ec7bede50cd1dbbc6ed2120f115da55854/src/JsonParseNodeFactory.cs#L38
The use of LINQ in enum parsing and serialization code is resulting in unbounded LINQ generic specialization expansion that results in crashing the NativeAOT compiler. A full explanation of the...
This prevents unintended and unbound generic specialization expansion in the NativeAOT compiler. Fixes #226