JsonWriter: Use custom configuration object for explicit configurabillity.

This commit is contained in:
2019-11-24 04:56:13 +01:00
parent 47f20e03e8
commit 6782200917
2 changed files with 71 additions and 31 deletions

View File

@@ -96,7 +96,7 @@ namespace VAR.Json.Tests
}
if (obj != null && (obj is Exception) == false)
{
JsonWriter writter = new JsonWriter(true);
JsonWriter writter = new JsonWriter(new JsonWriterConfiguration(indent: true));
Console.Out.WriteLine("Parsed:\n{0}", writter.Write(obj));
Console.Out.WriteLine("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
}