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

◆ WriteStringEscape() [4/12]

void System.Text.Json.Utf8JsonWriter.WriteStringEscape ( ReadOnlySpan< byte > utf8PropertyName,
ReadOnlySpan< byte > utf8Value )
inlineprivate

Definition at line 3414 of file Utf8JsonWriter.cs.

3415 {
3416 int num = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder);
3417 int num2 = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
3418 if (num + num2 != -2)
3419 {
3421 }
3422 else
3423 {
3425 }
3426 }
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.Text.Json.Utf8JsonWriter.WriteStringByOptions(), and System.Text.Json.Utf8JsonWriter.WriteStringEscapePropertyOrValue().