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

◆ WriteNumberEscape() [8/10]

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

Definition at line 1767 of file Utf8JsonWriter.cs.

1768 {
1769 int num = JsonWriterHelper.NeedsEscaping(propertyName, _options.Encoder);
1770 if (num != -1)
1771 {
1773 }
1774 else
1775 {
1777 }
1778 }
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().