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

◆ WriteNumberEscape() [9/10]

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

Definition at line 2689 of file Utf8JsonWriter.cs.

2690 {
2691 int num = JsonWriterHelper.NeedsEscaping(propertyName, _options.Encoder);
2692 if (num != -1)
2693 {
2695 }
2696 else
2697 {
2699 }
2700 }
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().