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 9aa866f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* ReadTesxt
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
Expand Down 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 9aa866f

Please sign in to comment.