Skip to content

Commit 7f9db8e

Browse files
committed
Add MqttDefaultJsonOptions.cs
1 parent b88b1fb commit 7f9db8e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Text.Json;
2+
3+
namespace MQTTnet.AspNetCore.Routing;
4+
5+
public class MqttDefaultJsonOptions
6+
{
7+
public JsonSerializerOptions SerializerOptions { get; }
8+
9+
public MqttDefaultJsonOptions(JsonSerializerOptions options)
10+
{
11+
SerializerOptions = options;
12+
}
13+
}

0 commit comments

Comments
 (0)