Summary
Configures Json.NET with everything required to properly serialize and deserialize NodaTime data types.
Syntax
public static JsonSerializer ConfigureForComplexTableEntity(this JsonSerializer serializer, IDateTimeZoneProvider provider)
Parameters
Name |
Type |
Description |
serializer |
JsonSerializer |
The existing serializer to add Noda Time converters to. |
provider |
IDateTimeZoneProvider |
The time zone provider to use when parsing time zones and zoned date/times. |
Return Value
Type |
Description |
JsonSerializer |
The original serializer value, for further chaining. |