Skip to content

Commit

Permalink
parity with merge pr
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrsongg committed Jan 24, 2025
1 parent 6d81072 commit 1412082
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,10 @@ public string ReadText(ref StreamingUtf8JsonReader reader)
text = reader.Reader.GetBoolean().ToString();
break;
case JsonTokenType.PropertyName:
text = reader.Reader.GetString();
break;
case JsonTokenType.String:
text = reader.Reader.GetString();
break;
// For numbers we grab the raw value b/ c we don't want to lose precision.
// For numbers we grab the raw value b/ c we don't want to lose precision.
case JsonTokenType.Number:
#if NETSTANDARD2_0 || NETFRAMEWORK
// overload which accepts a ReadOnlySpan<byte> is only available in netstandard2.1 and netcore2.1+
Expand Down

0 comments on commit 1412082

Please sign in to comment.