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

◆ WriteLiteralEscape() [2/2]

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

Definition at line 2432 of file Utf8JsonWriter.cs.

2433 {
2434 int num = JsonWriterHelper.NeedsEscaping(propertyName, _options.Encoder);
2435 if (num != -1)
2436 {
2438 }
2439 else
2440 {
2442 }
2443 }
void WriteLiteralByOptions(ReadOnlySpan< char > propertyName, ReadOnlySpan< byte > value)
void WriteLiteralEscapeProperty(ReadOnlySpan< char > propertyName, ReadOnlySpan< byte > 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.WriteLiteralByOptions(), and System.Text.Json.Utf8JsonWriter.WriteLiteralEscapeProperty().

Referenced by System.Text.Json.Utf8JsonWriter.WriteBoolean(), System.Text.Json.Utf8JsonWriter.WriteBoolean(), System.Text.Json.Utf8JsonWriter.WriteNull(), and System.Text.Json.Utf8JsonWriter.WriteNull().