Ejemplo n.º 1
0
        public Dictionary <string, object> ParseObject()
        {
            ParseCore();
            if (resultType == JsonElementType.Dictionary)
            {
                return((Dictionary <string, object>)parseResult);
            }

            throw new JsonTypeException("Json Parser: want the Dictionary type, but the parsed type is " + resultType.ToString("G") + ".");
        }