We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ea153 commit 16e1806Copy full SHA for 16e1806
src/Extensions/Console/JsonConsoleOptions.cs
@@ -12,7 +12,12 @@ namespace Devlooped.Extensions.AI;
12
/// </summary>
13
public class JsonConsoleOptions
14
{
15
- static readonly JsonSerializerOptions jsonOptions = new(JsonSerializerDefaults.Web);
+ static readonly JsonSerializerOptions jsonOptions = new(JsonSerializerDefaults.Web)
16
+ {
17
+ DefaultIgnoreCondition =
18
+ System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull |
19
+ System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault
20
+ };
21
22
/// <summary>
23
/// Default settings for rendering JSON output to the console, which include:
0 commit comments