JsonWriterOptions.IndentCharacter Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the indentation character used by Utf8JsonWriter when Indented is enabled. Defaults to the space character.
public:
property char IndentCharacter { char get(); void set(char value); };
public char IndentCharacter { get; set; }
member this.IndentCharacter : char with get, set
Public Property IndentCharacter As Char
value
contains an invalid character.
Allowed characters are space and horizontal tab.
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: