public JavaScriptSerializer(JavaScriptTypeResolver resolver)
     : this(resolver, false, 102400, 100)
 {
 }
 public JsonDeserializer(JavaScriptSerializer serializer)
 {
     this.serializer = serializer;
     maxJsonLength = serializer.MaxJsonLength;
     recursionLimit = serializer.RecursionLimit;
     typeResolver = serializer.TypeResolver;
     modes = new Stack<JsonMode>();
     currentKey = new Stack<string>();
     returnValue = new Stack<object>();
     state = GO;
     currentPosition = 0;
     recursionDepth = 0;
 }
 public JavaScriptSerializer(JavaScriptTypeResolver resolver)
     : this(resolver, false, 2097152, 100)
 {
 }