Closed ewwink closed 5 years ago
Uhm with ToString?!
The normal ToString will create compact json, the ToString overload with an int parameter creates formatted json indented with that many spaces per nesting level.
So you want to use either
str = node.ToString();
or
str = node.ToString(3);
wow great, I don't need special method. Thanks
how? and thanks