private JSONValue ParseDict()
{
this.Next();
this.SkipWs();
Dictionary<string, JSONValue> o = new Dictionary<string, JSONValue>();
while (this.cur != '}')
{
JSONValue value2 = this.ParseValue();
if (!value2.IsString())
{
throw new JSONParseException("Key not string type at " + this.PosMsg());
}
this.SkipWs();
if (this.cur != ':')
{
throw new JSONParseException("Missing dict entry delimiter ':' at " + this.PosMsg());
}
this.Next();
o.Add(value2.AsString(), this.ParseValue());
this.SkipWs();
if (this.cur == ',')
{
this.Next();
this.SkipWs();
}
}
this.Next();
return new JSONValue(o);
}