Repository navigation
fixes and features - #415
Merged
Merged
Conversation
Fixes - Fix quadratic handling of duplicate property names in JTokenWriter. A duplicate now replaces the existing property in its original position instead of moving to the end - Throw JsonSerializationException for a non-string $type - Detect negative zero by comparing bits rather than dividing by zero - Fix default value population for renamed constructor parameters - Fix "Duplicate attribute" when converting nested single item arrays to an XDocument - Keep the json:Array marker on single item arrays whose names need XML encoding - Support Index and list patterns on JArray - Write comments containing "*/" as line comments - Fix InvalidCastException comparing a BigInteger JValue with a short, ushort, byte, sbyte or enum JValue - Set a value type member to its default when given null, instead of throwing - Read TimeOnly with TimeOnly.Parse so "13:45" is accepted - Drop "Required" from the DisallowNull error message - Reduce allocations in ToMultidimensionalArray - Throw from the serializer's dynamic paths when DynamicIsSupported is off, and honour the switch in JObject and JValue Features - Serialize Int128, UInt128 and Half as JSON numbers. They were previously written as strings, which are still read - Serialize Memory<T> and ReadOnlyMemory<T> as arrays, or base64 when T is byte Unions - Ignore $id, $type, $ref and $values when matching object cases by property name - Use $type to select a case when TypeNameHandling is enabled. TypeNameHandling.Auto now writes the type of the case - Select the case for a $ref from the referenced object - Treat an object holding $values as an array - Match cases read by a converter, and object and JToken cases, against any JSON shape. An enum read by StringEnumConverter matches strings and numbers - Read "NaN", "Infinity" and "-Infinity" into float and double cases
This was referenced Oct 6, 2026
Merged
Merged
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
Features
Unions