Exemplo n.º 1
0
        /// <summary>
        /// Reads the next JSON token from the stream as a <see cref="Nullable{DateTime}"/>.
        /// </summary>
        /// <returns>A <see cref="String"/>. This method will return <c>null</c> at the end of an array.</returns>
        public override DateTime?ReadAsDateTime()
        {
            DateTime?dateTime = _reader.ReadAsDateTime();

            ValidateCurrentToken();
            return(dateTime);
        }