Skip to content

Commit

Permalink
Fix JsonNode performance regression (#104048)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriktsarpalis authored Jun 26, 2024
1 parent 42b46df commit 162e975
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public override void Write(Utf8JsonWriter writer, JsonNode? value, JsonSerialize
node = new JsonArray(element, options);
break;
default:
node = JsonValue.CreateFromElement(ref element, options);
node = new JsonValueOfElement(element, options);
break;
}

Expand Down

0 comments on commit 162e975

Please sign in to comment.