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

◆ WritePropertyNameSection()

void System.Text.Json.Utf8JsonWriter.WritePropertyNameSection ( ReadOnlySpan< byte > escapedPropertyNameSection)
inlinepackage

Definition at line 2891 of file Utf8JsonWriter.cs.

2892 {
2893 if (_options.Indented)
2894 {
2895 ReadOnlySpan<byte> utf8PropertyName = escapedPropertyNameSection.Slice(1, escapedPropertyNameSection.Length - 3);
2897 }
2898 else
2899 {
2901 _currentDepth &= int.MaxValue;
2902 _tokenType = JsonTokenType.PropertyName;
2903 }
2904 }
void WritePropertyNameHelper(ReadOnlySpan< byte > utf8PropertyName)
void WriteStringPropertyNameSection(ReadOnlySpan< byte > escapedPropertyNameSection)

References System.Text.Json.Utf8JsonWriter._currentDepth, System.Text.Json.Utf8JsonWriter._options, System.Text.Json.Utf8JsonWriter._tokenType, System.Text.Json.Dictionary, System.Text.Json.JsonWriterOptions.Indented, System.ReadOnlySpan< T >.Slice(), System.Text.Json.Utf8JsonWriter.WritePropertyNameHelper(), and System.Text.Json.Utf8JsonWriter.WriteStringPropertyNameSection().