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

◆ WritePropertyName() [11/15]

void System.Text.Json.Utf8JsonWriter.WritePropertyName ( ReadOnlySpan< byte > utf8PropertyName)
inline

Definition at line 3018 of file Utf8JsonWriter.cs.

3019 {
3020 JsonWriterHelper.ValidateProperty(utf8PropertyName);
3021 int num = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
3022 if (num != -1)
3023 {
3025 }
3026 else
3027 {
3029 }
3030 _currentDepth &= int.MaxValue;
3031 _tokenType = JsonTokenType.PropertyName;
3032 }
void WriteStringByOptionsPropertyName(ReadOnlySpan< char > propertyName)
void WriteStringEscapeProperty(ReadOnlySpan< char > propertyName, DateTime value, int firstEscapeIndexProp)

References System.Text.Json.Utf8JsonWriter._currentDepth, System.Text.Json.Utf8JsonWriter._options, System.Text.Json.Utf8JsonWriter._tokenType, System.Text.Json.Dictionary, System.Text.Json.JsonWriterOptions.Encoder, System.Text.Json.JsonWriterHelper.NeedsEscaping(), System.Text.Json.JsonWriterHelper.ValidateProperty(), System.Text.Json.Utf8JsonWriter.WriteStringByOptionsPropertyName(), and System.Text.Json.Utf8JsonWriter.WriteStringEscapeProperty().