11 instantiations of JavaScriptSerializer
System.Web.Extensions (11)
ClientServices\Providers\ClientSettingsProvider.cs (1)
561new JavaScriptSerializer(),
ClientServices\Providers\ProxyHelper.cs (2)
80JavaScriptSerializer js = new JavaScriptSerializer(resolver); 127JavaScriptSerializer js = new JavaScriptSerializer();
Script\Serialization\JavaScriptSerializer.cs (1)
25JavaScriptSerializer serializer = new JavaScriptSerializer();
Script\Services\WebServiceData.cs (1)
161_serializer = new JavaScriptSerializer(this);
UI\ProfileServiceManager.cs (1)
213JavaScriptSerializer serializer = new JavaScriptSerializer();
UI\RoleServiceManager.cs (1)
123sb.Append(new JavaScriptSerializer().Serialize(roles, JavaScriptSerializer.SerializationFormat.JavaScript));
UI\ScriptComponentDescriptor.cs (1)
100_serializer = new JavaScriptSerializer();
UI\ScriptManager.cs (1)
1999JavaScriptSerializer serializer = new JavaScriptSerializer(new SimpleTypeResolver());
UI\ScriptRegistrationManager.cs (2)
313JavaScriptSerializer serializer = new JavaScriptSerializer(); 701JavaScriptSerializer serializer = new JavaScriptSerializer();
47 references to JavaScriptSerializer
System.Web.Extensions (47)
ClientServices\Providers\ProxyHelper.cs (2)
80JavaScriptSerializer js = new JavaScriptSerializer(resolver); 127JavaScriptSerializer js = new JavaScriptSerializer();
Globalization\ClientCultureInfo.cs (1)
124string json = JavaScriptSerializer.SerializeInternal(BuildSerializeableCultureInfo(clientCultureInfo));
Profile\ProfileService.cs (2)
20private static JavaScriptSerializer _javaScriptSerializer; 22private static JavaScriptSerializer JavaScriptSerializer {
Script\Serialization\JavaScriptConverter.cs (2)
18public abstract object Deserialize(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer); 22public abstract IDictionary<string, object> Serialize(object obj, JavaScriptSerializer serializer);
Script\Serialization\JavaScriptObjectDeserializer.cs (5)
29private JavaScriptSerializer _serializer; 32internal static object BasicDeserialize(string input, int depthLimit, JavaScriptSerializer serializer) { 41private JavaScriptObjectDeserializer(string input, int depthLimit, JavaScriptSerializer serializer) { 66if (dict.ContainsKey(JavaScriptSerializer.ServerTypeFieldName)) { 380DateTime dt = new DateTime(ticks * 10000 + JavaScriptSerializer.DatetimeMinTimeTicks, DateTimeKind.Utc);
Script\Serialization\JavaScriptSerializer.cs (2)
25JavaScriptSerializer serializer = new JavaScriptSerializer(); 29internal static object Deserialize(JavaScriptSerializer serializer, string input, Type type, int depthLimit) {
Script\Serialization\ObjectConverter.cs (11)
25private static bool AddItemToList(IList oldList, IList newList, Type elementType, JavaScriptSerializer serializer, bool throwOnError) { 39private static bool AssignToPropertyOrField(object propertyValue, object o, string memberName, JavaScriptSerializer serializer, bool throwOnError) { 110private static bool ConvertDictionaryToObject(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer, bool throwOnError, out object convertedObject) { 119if (dictionary.TryGetValue(JavaScriptSerializer.ServerTypeFieldName, out s)) { 147dictionary.Remove(JavaScriptSerializer.ServerTypeFieldName); 270internal static object ConvertObjectToType(object o, Type type, JavaScriptSerializer serializer) { 276private static bool ConvertObjectToTypeMain(object o, Type type, JavaScriptSerializer serializer, bool throwOnError, out object convertedObject) { 312private static bool ConvertObjectToTypeInternal(object o, Type type, JavaScriptSerializer serializer, bool throwOnError, out object convertedObject) { 421private static bool ConvertListToObject(IList list, Type type, JavaScriptSerializer serializer, bool throwOnError, out IList convertedList) { 526internal static bool IsClientInstantiatableType(Type t, JavaScriptSerializer serializer) { 573internal static bool TryConvertObjectToType(object o, Type type, JavaScriptSerializer serializer, out object convertedObject) {
Script\Services\ClientProxyGenerator.cs (1)
240_builder.Append(typeName).Append(".set_jsonpCallbackParameter(").Append(JavaScriptSerializer.SerializeInternal(jsonpParameterName)).Append(");\r\n");
Script\Services\RestHandler.cs (4)
84private static IDictionary<string, object> GetRawParamsFromGetRequest(HttpContext context, JavaScriptSerializer serializer, WebServiceMethodData methodData) { 98private static IDictionary<string, object> GetRawParamsFromPostRequest(HttpContext context, JavaScriptSerializer serializer) { 238writer.Write(JavaScriptSerializer.SerializeInternal(BuildWebServiceError(AtlasWeb.WebService_Error, String.Empty, String.Empty))); 241writer.Write(JavaScriptSerializer.SerializeInternal(BuildWebServiceError(ex.Message, ex.StackTrace, ex.GetType().FullName)));
Script\Services\WebServiceData.cs (2)
39private JavaScriptSerializer _serializer; 40internal JavaScriptSerializer Serializer {
UI\ProfileServiceManager.cs (3)
213JavaScriptSerializer serializer = new JavaScriptSerializer(); 219sb.Append(serializer.Serialize(topLevelSettings, JavaScriptSerializer.SerializationFormat.JavaScript)); 229sb.Append(serializer.Serialize(group.Value, JavaScriptSerializer.SerializationFormat.JavaScript));
UI\RoleServiceManager.cs (1)
123sb.Append(new JavaScriptSerializer().Serialize(roles, JavaScriptSerializer.SerializationFormat.JavaScript));
UI\ScriptComponentDescriptor.cs (8)
28private JavaScriptSerializer _serializer; 97private JavaScriptSerializer Serializer { 305public abstract void AppendValue(JavaScriptSerializer serializer, StringBuilder builder); 326public override void AppendValue(JavaScriptSerializer serializer, StringBuilder builder) { 346public override void AppendValue(JavaScriptSerializer serializer, StringBuilder builder) { 366public override void AppendValue(JavaScriptSerializer serializer, StringBuilder builder) { 369serializer.Serialize(_value, builder, JavaScriptSerializer.SerializationFormat.JavaScript); 386public override void AppendValue(JavaScriptSerializer serializer, StringBuilder builder) {
UI\ScriptManager.cs (1)
1999JavaScriptSerializer serializer = new JavaScriptSerializer(new SimpleTypeResolver());
UI\ScriptRegistrationManager.cs (2)
313JavaScriptSerializer serializer = new JavaScriptSerializer(); 701JavaScriptSerializer serializer = new JavaScriptSerializer();