NodaDateTimeZoneConverter.

ReadJsonImpl(JsonReader, JsonSerializer) Method

Summary

Reads the time zone ID (which must be a string) from the reader, and converts it to a time zone.

Syntax

protected override DateTimeZone ReadJsonImpl(JsonReader reader, JsonSerializer serializer)

Parameters

Name Type Description
reader JsonReader The JSON reader to fetch data from.
serializer JsonSerializer The serializer for embedded serialization.

Return Value

Type Description
DateTimeZone The NodaTime.DateTimeZone identified in the JSON, or null.