Utf8Json
Utf8Json copied to clipboard
Definitely Fastest and Zero Allocation JSON Serializer for C#(NET, .NET Core, Unity, Xamarin).
I'm trying to parse a very simple json ``` string json = @"{ ""Email"": ""[email protected]"", ""Active"": ""true"", ""CreatedDate"": ""2013-01-20T00:00:00Z"", ""Roles"": [ ""User"", ""Admin"" ] }"; public class Item { public...
The following throws an exception under .Net 5 / C# 9: ``` class Person { public Person() { } public Person(int age, string name, Person[] data) { Age = age;...
I have encountered an issue when implementing error handling for malformed json in my web application, instead of unexpected end of string I was getting error messages with unexpected char...
I know it is not the nicest way to introduce a fork of a repo but i had no other choice. I asked the author but my messages were ignored....
Hello, In order to spare bandwidth and to have the same behaviour as [Json.NET DefaultValueHandling.Ignore attribute](https://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_DefaultValueHandling.htm), it would be great to have the possibility to remove default values from serialization....
Newtonsoft has a feature to convert enum names to snake case. It appears that right now Utf8Json can only serialize the standard enum member name or the underlying value.
//I am unable to serialize List with kvp names as "key"/"value" //similarly cannot deserialize //See the snippet below ` using System; using Utf8Json; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using...
I have these classes below. ``` [DataContract] public class Physics { [DataMember] public string Lecturer { get; set; } [DataMember] public WeekDays WeekDay { get; set; } } [DataContract] public...
Hello to all guys, I recently saw users joining and expressing their disappointment for the abandonment of this wonderful project which continue to accumulate from years bugs, opened issues etc...
说明上的Performance of Serialize这条说明下,配的截图的引号是中文符号。是故意写的吗,为什么。是写错的吗?