question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] System.Text.Json support

See original GitHub issue

Feature request: Support System.Text.Json writers. More details: Currently NEST supports Json.Net serializers. Microsoft has added a Json library to .net core 3 and a nuget package for other frameworks. Will it be possible to use custom writers that supports System.Text.Json with NEST - I know you made a great effort to remove the JSON.net dependency, I hope this is a step forward in that aspect… https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-apis/

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
stevejgordoncommented, Jan 31, 2022

We have switched to System.Text.Json for 8.0.0-alpha.1 as the default fore request/response and source serialization.

1reaction
HarelMcommented, Jan 29, 2023

Yea, I saw the custom serialized code, with the extra two jsonconverters and copied them to my protect, I agree, it’s not a lot of code, but also not a few simple lines. Since this code will be in my protect I need to fully understand it, which at this point in time I don’t… Thanks for the super fast response and detailed explanation! Keep up the good work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate from Newtonsoft.Json to System.Text.Json - .NET
The System.Text.Json namespace provides functionality for serializing to and deserializing from JavaScript Object Notation (JSON). The System.
Read more >
Serialize and deserialize JSON using C# - .NET
The System.Text.Json library design emphasizes high performance and low memory allocation over an extensive feature set. Built-in UTF-8 support ...
Read more >
Seven System.Text.Json features in the .NET 6
In .NET 6, System.Text.Json supports IAsyncEnumerable. The serialization of IAsyncEnumerable transforms it into an array.
Read more >
Introduction to System.Text.Json Through Examples
System.Text.Json library helps us handle JSON in ASP.NET applications. It comes integrated with the framework and it's simple and easy to ...
Read more >
System.Text.Json support to System.Runtime.Serialization
NET Standard and it allows us to annotate members of a class in a way to hint a serialization library what name to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found