Тёмный

Newtonsoft.Json vs System.Text.Json: Which one's faster?  

PhanxDEV
Подписаться 91
Просмотров 471
50% 1

I compared the performance of Newtonsoft.Json and System.Text.Json, two popular .NET JSON libraries.
Check this video, if you are interested in the results.
👍 If you found this video helpful, don't forget to give it a thumbs up, subscribe for more content, and hit the notification bell to stay updated with my latest videos!
🙏 Thanks for watching, and happy coding! 💻🚀
#dotnet #coding #json #csharp #serialization

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@myunboxtherapy313
@myunboxtherapy313 4 месяца назад
Nice video. We do not have any alternative of SearchToken in System.Text.Json to query.
@PhanxDEV95
@PhanxDEV95 4 месяца назад
Thank you for your comment:) Yes, unfortunately some features of Newtonsoft.Json don‘t have an equivalent in System.Text.Json
@RobertErath
@RobertErath 29 дней назад
debug mode benchmarks is useless. Also, without even basic complex types such as dictionary which adds overhead... then your testing minimums which isnt a good benchmark.
@PhanxDEV95
@PhanxDEV95 26 дней назад
Thank you for sharing your opinion. I partially agree. Release mode benchmarks are better, that's why I did other benchmarks in release mode in later videos. I still don't think they are useless, they still show the performance difference between Newtonsoft.Json and System.Text.Json. Regarding complex types: Of course, to get a full picture of the performance differences, you need to test it with more realistic data, but that depends very much on your specific scenario. This video should give you a basic idea of the performance differences between these two JSON serializers.
Далее
Собираю Фигурку Из Лего! 🧩
0:52
This Algorithm is 1,606,240% FASTER
13:31
Просмотров 844 тыс.
How to Build A CLI Todo App in Go
38:15
Просмотров 10 тыс.
How to write "smarter" enums in C#
12:56
Просмотров 134 тыс.
What's new in System.Text.Json | .NET Conf 2023
24:21
Brutally honest advice for new .NET Web Developers
7:19
Master Pointers in C:  10X Your C Coding!
14:12
Просмотров 316 тыс.
The fastest .NET Serializer is NOT what you think
7:16
Собираю Фигурку Из Лего! 🧩
0:52