odata.net icon indicating copy to clipboard operation
odata.net copied to clipboard

[DRAFT] New OData Writer stack

Open habbes opened this issue 8 months ago • 1 comments

Issues

This pull request fixes #https://github.com/OData/odata.net/issues/3236.

Description

New OData Writer stack with better performance and better integration with System.Text.Json

Checklist (Uncheck if it is not completed)

  • [ ] Test cases added
  • [ ] Build and test with one-click build and test script passed

Additional work necessary

If documentation update is needed, please add "Docs Needed" label to the issue and provide details about the required document change in the issue.

habbes avatar Apr 23 '25 17:04 habbes

According to the principles, the deserialization process should support the same input types as ODataWriter, including:

  • CLR objects
  • IEdmObject
  • Dictionaries
  • JObject

It would be valuable to add native support for JsonObject from System.Text.Json in OData. STJ is increasingly becoming the standard for serialization and deserialization in .NET, and broader support would align well with modern .NET development practices.

Justinlcx avatar Jul 22 '25 20:07 Justinlcx