Summary
Configures the given serializer settings to use NodaTime.Serialization.JsonNet.NodaConverters.IsoIntervalConverter
.
Any other converters which can convert NodaTime.Interval
are removed from the serializer.
Syntax
public static JsonSerializerSettings WithIsoIntervalConverter(this JsonSerializerSettings settings)
Parameters
Name |
Type |
Description |
settings |
JsonSerializerSettings |
The existing serializer settings to add Noda Time converters to. |
Return Value
Type |
Description |
JsonSerializerSettings |
The original settings value, for further chaining. |