1+ using System . Text . Json . Serialization ;
2+
3+ namespace HttpClientTestServer ;
4+
5+ [ JsonSerializable ( typeof ( string ) ) ]
6+ [ JsonSerializable ( typeof ( Guid ) ) ]
7+ [ JsonSerializable ( typeof ( Guid ? ) ) ]
8+ [ JsonSerializable ( typeof ( TimeSpan ) ) ]
9+ [ JsonSerializable ( typeof ( TimeSpan ? ) ) ]
10+ [ JsonSerializable ( typeof ( DateTime ) ) ]
11+ [ JsonSerializable ( typeof ( DateTime ? ) ) ]
12+ [ JsonSerializable ( typeof ( DateTimeOffset ) ) ]
13+ [ JsonSerializable ( typeof ( DateTimeOffset ? ) ) ]
14+ [ JsonSerializable ( typeof ( bool ) ) ]
15+ [ JsonSerializable ( typeof ( bool ? ) ) ]
16+ [ JsonSerializable ( typeof ( sbyte ) ) ]
17+ [ JsonSerializable ( typeof ( short ) ) ]
18+ [ JsonSerializable ( typeof ( int ) ) ]
19+ [ JsonSerializable ( typeof ( long ) ) ]
20+ [ JsonSerializable ( typeof ( byte ) ) ]
21+ [ JsonSerializable ( typeof ( ushort ) ) ]
22+ [ JsonSerializable ( typeof ( uint ) ) ]
23+ [ JsonSerializable ( typeof ( ulong ) ) ]
24+ [ JsonSerializable ( typeof ( sbyte ? ) ) ]
25+ [ JsonSerializable ( typeof ( short ? ) ) ]
26+ [ JsonSerializable ( typeof ( int ? ) ) ]
27+ [ JsonSerializable ( typeof ( long ? ) ) ]
28+ [ JsonSerializable ( typeof ( byte ? ) ) ]
29+ [ JsonSerializable ( typeof ( ushort ? ) ) ]
30+ [ JsonSerializable ( typeof ( uint ? ) ) ]
31+ [ JsonSerializable ( typeof ( ulong ? ) ) ]
32+ [ JsonSerializable ( typeof ( float ) ) ]
33+ [ JsonSerializable ( typeof ( double ) ) ]
34+ [ JsonSerializable ( typeof ( float ? ) ) ]
35+ [ JsonSerializable ( typeof ( double ? ) ) ]
36+ public partial class HttpClientTestServerJsonSerializerContext : JsonSerializerContext ;
0 commit comments