Exemplo n.º 1
0
        public override double?ReadAsDouble()
        {
            if (currentSlice == null)
            {
                SetCurrentFromArray();
            }

            if (currentSlice == null)
            {
                return(null);
            }

            var value = currentSlice.ToDouble();

            SetToken(JsonToken.Float, value);
            currentSlice = null;
            return(value);
        }