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

◆ WriteStringEscape() [11/12]

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

Definition at line 3400 of file Utf8JsonWriter.cs.

3401 {
3402 int num = JsonWriterHelper.NeedsEscaping(value, _options.Encoder);
3403 int num2 = JsonWriterHelper.NeedsEscaping(propertyName, _options.Encoder);
3404 if (num + num2 != -2)
3405 {
3407 }
3408 else
3409 {
3411 }
3412 }
void WriteStringByOptions(ReadOnlySpan< char > propertyName, DateTime value)
unsafe void WriteStringEscapePropertyOrValue(ReadOnlySpan< char > propertyName, ReadOnlySpan< char > value, int firstEscapeIndexProp, int firstEscapeIndexVal)

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.WriteStringByOptions(), and System.Text.Json.Utf8JsonWriter.WriteStringEscapePropertyOrValue().