Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteNumberEscape() [7/10]

void System.Text.Json.Utf8JsonWriter.WriteNumberEscape ( ReadOnlySpan< char > propertyName,
double value )
inlineprivate

Definition at line 1542 of file Utf8JsonWriter.cs.

1543 {
1544 int num = JsonWriterHelper.NeedsEscaping(propertyName, _options.Encoder);
1545 if (num != -1)
1546 {
1548 }
1549 else
1550 {
1552 }
1553 }
void WriteNumberByOptions(ReadOnlySpan< char > propertyName, decimal value)
void WriteNumberEscapeProperty(ReadOnlySpan< char > propertyName, decimal value, int firstEscapeIndexProp)

References System.Text.Json.Utf8JsonWriter._options, System.Text.Json.Dictionary, System.Text.Json.JsonWriterOptions.Encoder, System.Text.Json.JsonWriterHelper.NeedsEscaping(), System.value, System.Text.Json.Utf8JsonWriter.WriteNumberByOptions(), and System.Text.Json.Utf8JsonWriter.WriteNumberEscapeProperty().