Summary
Configures Json.NET with everything required to properly serialize and deserialize NodaTime data types.
Syntax
public static JsonSerializerSettings ConfigureForComplexTableEntity(this JsonSerializerSettings settings, IDateTimeZoneProvider provider)
Parameters
Name |
Type |
Description |
settings |
JsonSerializerSettings |
The existing settings 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 |
JsonSerializerSettings |
The original settings value, for further chaining. |