JsonSerializerOptions.IndentCharacter 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义启用 WriteIndented 时使用的缩进字符。 默认为空格字符。
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 包含无效字符。
如果在序列化或反序列化发生后设置此属性,则引发此属性。
注解
允许的字符是空格和水平制表符。