Exemple #1
0
        public override string ReadAsString()
        {
            if (currentSlice == null)
            {
                SetCurrentFromArray();
            }

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

            var value = currentSlice.ToStringValue();

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